Re: re-engineering tie for improved usability; proposedalternatesyntax for state var declaration and such

2006-04-08 Thread David Nicol
On 4/8/06, Nick Ing-Simmons [EMAIL PROTECTED] wrote: Ok, just checking that you didn't need access to VARIABLE for your state case to work. no. State variable as tied is vastly inferior to externally scoped and initialized native variable, but the package for it would look something like

Re: New module: FLV file parsing

2005-12-02 Thread David Nicol
On 12/2/05, David Landgren [EMAIL PROTECTED] wrote: Eric Wilhelm wrote: What else will appear in the Flash:: namespace? Will macromedia release a pure perl version? In about 10 days time, I'm going to forget utterly that FF means File Formats. Does it need to be so terse? Tossing out

Re: FF:: namespace (was: New module: FLV file parsing)

2005-12-02 Thread David Nicol
I think the interpreter might complain about that a bit- use 22; Perl v22.0.0 required (did you mean v22.000?)--this is only v5.8.6, stopped at -e line 1. :-) Austin # perl -MModuleNumber22 -le 'print 1' Can't locate ModuleNumber22.pm in @INC (@INC contains:

Re: FF:: namespace (was: New module: FLV file parsing)

2005-12-02 Thread David Nicol
Sorry, that should have been $ perl -MModuleNumber::22 -le 'print 1' Can't locate ModuleNumber/22.pm in @INC

Re: New module: FLV file parsing

2005-11-30 Thread David Nicol
isn't there a multimedia name space? name spaces per-product that is being supported make sense --- Flash::parseFLV perhaps? Or File::FLV? Or File::FLV::Parser? I don't think File:: is right for this. Right, because it's not a filehandle or otherwise IO/filesystem related. -- David L

Re: Branded naming and Rose - good abstracts

2005-10-06 Thread David Nicol
On 10/5/05, Ken Williams [EMAIL PROTECTED] wrote: s/ of query.*\././; too vague. The whole CPAN is built for easy and efficient manipulation. saying so is like claming your budweiser is colder or your size is extra medium or something else just as meaningless. -- David L Nicol You aren't

Re: Branded naming and Rose - good abstracts (more)

2005-10-06 Thread David Nicol
optimized for ... is good in abstracts IMO. URI factory class optimized for query construction

Re: Name for module to construct URI from named params?

2005-10-05 Thread David Nicol
Maybe leave the name alone but change the abstract? A URI object built for easy and efficient manipulation may be true but it doesn't tell us: manipulation of what, by what, nor that it is compatible with the URI in many ways. Perhaps standalone module for constructing URIs by building them

Re: New Author

2005-09-27 Thread David Nicol
On 9/27/05, Chuck Fox [EMAIL PROTECTED] wrote: I have a subclassed DBI module that I am interested in publishing. Is there a guideline or list of do's and don'ts for publishing to CPAN ? Other than doing a make dist, are the formats/styles that are preferred ? Is this the correct forum for

Re: Checking for boilerplate

2005-08-24 Thread David Nicol
I strongly suspect that the people who use Module::Release are not the ones uploading modules with boilerplate. Putting the test in Module::Release is a good idea, but it would not abate the primary problem under discussion. Chris gotta put the checks in PAUSE so it rejects

Re: is there a templating system that....

2005-08-15 Thread David Nicol
On 8/15/05, Matisse Enzer [EMAIL PROTECTED] wrote: Just a data point: I'm the maintainer of Text::TagTemplate and will soon release a version that lets you set the regexes that define the start and end of a tag. FWIW, I have just uploaded TipJar::Template::fill to CPAN. It is an

Re: Perl6 goes where?

2005-07-28 Thread David Nicol
On 7/28/05, Chris [EMAIL PROTECTED] wrote: On Thu, 28 Jul 2005, Andy Lester wrote: I don't think we need another CPAN at all. There's nothing wrong with putting require 6; at the top of Makefile.PL and keeping everything in one happy CPAN. That means CPAN is going to have to parse it,

Re: how to interpolate html entities easily (HOWTO) (full text of Entitize.pm)

2005-04-21 Thread David Nicol
On 4/21/05, Ken Williams [EMAIL PROTECTED] wrote: True, but it's not too small to submit as a patch for HTML::Entities. -Ken or even a doc-patch for HTML::Entities. I think my political goal here is fame points through getting Tie::Function into wider use. HTML::Entities is widely

Re: Parse::Lex abandoned?

2005-03-16 Thread David Nicol
On Wed, 16 Mar 2005 09:46:05 -0500, Sean Quinlan [EMAIL PROTECTED] Speaking of mailing lists, is there a community listserv authors could use? I have mailing lists for a couple projects (currently getting dusty), but not everyone might have the option to set up their own mailing lists. And

Re: Net::Ftp use proxy?

2005-02-19 Thread David Nicol
http is more robust over a proxy On Sat, 19 Feb 2005 14:33:03 -0800, Linda W [EMAIL PROTECTED] wrote: When cpan goes to do a get, it first says LWP not available, then tries NET::Ftp (which failes because it is behind a FW and needs to use ftp_proxy) and finally lynx. Lynx works

Re: CPAN::Forum

2005-02-06 Thread David Nicol
On Fri, 04 Feb 2005 07:46:14 -0500, David A. Golden [EMAIL PROTECTED] wrote: I'm not sure if it can be done, but maybe login ID's could done with an email address rather than a nickname. That would allow module authors to clearly use their cpan email address for identity (with a password

Re: What to name the baby? (module naming advice)

2005-02-06 Thread David Nicol
there's an IRC top-level namespace, with IRC::Bot in it. On Sun, 6 Feb 2005 17:56:01 -0500, Rocco Caputo [EMAIL PROTECTED] wrote: I've written a module that threads chat messages, but I don't know what to name it. Chat::Threader comes to mind. http://cpan.org/modules/by-module/ doesn't list

Re: Module Name: Net::Lite::FTP

2005-01-08 Thread David Nicol
On Sat, 8 Jan 2005 04:26:29 +0100, A. Pagaltzis [EMAIL PROTECTED] wrote: But ::Lite is misleading anyway. It's not the module's goal to be a light implementation of FTP, rather it intends to support things Net::FTP doesn't. So call it something else -- to load it -- but internally, keep the

Re: I named it aliased.pm

2005-01-07 Thread David Nicol
how is it different from Package::Alias? On Thu, 6 Jan 2005 22:48:50 -0800 (PST), Ovid [EMAIL PROTECTED] wrote: Since absolutely no one could agree on the name, I went ahead and uploaded the module as 'aliased'. Right now, 0.1 is available on the CPAN, but .11 is on its way. The code is

Re: Module naming advice

2005-01-06 Thread David Nicol
I don't understand what's being contemplated here. I think we're talking about recreating Package::Alias, which is essentially sugar around use really::long::name::ending::bar; BEGIN { *bar:: = \*really::long::name::ending::bar:: } after which the methods in RLNEB can be referred to with

Re: Module Name: Net::Lite::FTP

2005-01-06 Thread David Nicol
call it Net::FTP2 with the same caveats and reccommenddations and include blat and slurp methods! I don't want to have to create and release Net::FTP2::blat when I want to work with remote data over secure FTP. my two rusty bottlecaps, david nicol

Re: DBIx::DBH - Perl extension for simplifying database connections

2004-11-30 Thread David Nicol
instead of having to haul around the code to figure this out, why not create a handy documentary web service somewhere where you fill out the blanks and get an appropriate connection string? Loading a module every time you start the program just to create something that is a permanent

Re: idea - Class::Data::Separated

2004-11-07 Thread David Nicol
what you describe soulnd like a more general case, which when solved, will solve the needs of the guy who wants persistent per-session database handles. -- David L Nicol How cool is that? -- Elgie

Re: cpan-testers rant

2004-09-18 Thread David Nicol
You may be better off using Test::More, which has much of what you've created in Test::Utils, but with more visible reporting to the user (and into the cpan-testers email). or just die when something really goes wrong (like uninstalled prereqs) instead of forcing the academic exercise of

move to RT: Re: name for singlethreaded web server framework module (chatty)

2004-08-23 Thread david nicol
version 0.04 will extend this to programs which will get opened into pipes, and do selects on the handles to avoid blocking, since nonblocking is not portable. -- david nicol Someday, everything's going to be different when I paint my masterpiece.

Re: namespace for users and groups

2004-08-22 Thread david nicol
On Sun, 2004-08-22 at 08:22, David R. Baird wrote: At the moment, I'm favouring something with Tree and ACL in it, plus something like MethodMaker to indicate the code-managing aspect. Maybe Perms instead of ACL, but ACL seems to be the standard terminology. ACL and groups are different

Re: name for singlethreaded web server framework module (chatty)

2004-08-21 Thread david nicol
select? - non-blocking API, or just buffer the generated DATA in memory and then feed it out at the pace dictated by select() and non-blocking IO? because I'm not convinced that this name would give much insight into the implications of the implementation, and the trade offs they give. -- david

name for singlethreaded web server framework module

2004-08-20 Thread david nicol
I am writing a module that provides HTTP interface using select, for simple web applications without a web-server, and without POE or other modules. Configuration will be by mapping paths to coderefs. Planning to call this cute beastie HTTP::Server::Selecting. Comments? -- david nicol

Re: Sub::DeferedPartial (was: Sub::Suspension)

2004-07-08 Thread david nicol
in capability the become dialects of Lisp. -- david nicol People used to be able to read my thoughts, but it doesn't appear to work any more. Should I eat less cheese? -- Elizabeth Woods

Re: [module-authors] tables inside PDF

2004-05-28 Thread David Nicol
Mohamed Parvez wwrote: Its very surprising java has a API ( iTEXT ) that lets me do all these without pain. And CPAN does not have one. It's amazing what one can accomplish with a well-funded marketing strategy. The hold times at Sun are also much less than if you can even get the number for the

Re: tables inside PDF

2004-05-27 Thread David Nicol
This isn't what you're going to want to hear but I believe the current best practice for some time has been to write your document in LaTeX and then run it through the appropriate software to generate your pdf. I wonder if the openoffice format and libraries can be accessed directly, that would be

Re: Application framework namespaces

2004-05-21 Thread David Nicol
Michael A Nachbaur wrote: freshmeat.net works pretty well too This isn't a viable option for me. If this application is 100% perl, why go *outside* of the perl distribution network of choice to distribute it? freshmeat isn't a distribution network, it's an index of applications. We're

Re: Application framework namespaces

2004-05-19 Thread david nicol
On Tue, 2004-05-18 at 12:37, Michael A Nachbaur wrote: This is the kind of problem I'd like to solve with a new top level namespace. Scripts are in a separate section of CPAN from modules http://cpan.org/scripts/index.html freshmeat.net works pretty well too -- david nicol People used

Re: Application framework namespaces

2004-05-18 Thread David Nicol
Lincoln A. Baxter wrote: Comments anyone? Lincoln What differentiates your framework from POE? -- [EMAIL PROTECTED] There's a fine line between participation and mockery -- Scott Adams

Re: New module - (session/authentication) seeking a name

2004-05-16 Thread david nicol
been improving a lot in 2004 as I have written several systems that refer to it and have tested it on boa as well as apache. -- david nicol this message was sent from a filtering e-mail address. Until I add you to my friends list, to get by Big Emet the cowboy doorman your reply must include

Re: New module - (session/authentication) seeking a name

2004-05-15 Thread David Nicol
[EMAIL PROTECTED] wrote: I hadn't heard of AIS before. Sounds like it would make a nice additional authentication method. Part of my TODO is to abstract both the authentication and storage methods. I should be able to add this auth method after that (though, it doesn't offer any group based

Re: New module - (session/authentication) seeking a name

2004-05-13 Thread David Nicol
mine is AIS::client which I can rename to match the others if you come up with a good name. I have not tested AIS::client with mp and presume it is broken there. Turning www::authen::simple into an AIS client would allow you to centralize your authentication. -- [EMAIL PROTECTED] I know you,

Re: defining 'constants' at run time

2004-03-10 Thread David Nicol
Jenda Krynicky wrote: What if they are set up during the script's startup and then stay constant? Then they were changed (well defined) once during one of the several runtimes but still they are constant for the rest of the script and may even be treated as constants by the optimizer. If it's

Re: more multiple interface support using VERSION

2004-03-10 Thread david nicol
On Thu, 2004-03-04 at 21:14, david nicol wrote: a way to write an application that will work under both versions, when the installer of the program does not have control over the libraries and has an old library installed. Another possibility would be to use AUTOLOAD to defer defining

Re: AW: defining 'constants' at run time

2004-03-05 Thread David Nicol
Simon Cozens wrote: [EMAIL PROTECTED] (Jochen Stenzel) writes: the base technique is to build a use constant statement at runtime and evaluate it via eval(). % perl -w -Mstrict -le 'eval use constant FOO = 3; print FOO' Name main::FOO used only once: possible typo at -e line 1. print()

Re: more multiple interface support using VERSION

2004-03-04 Thread david nicol
On Wed, 2004-03-03 at 23:24, David Manura wrote: something like this: use T::B '1.87_1.96'; is more precise because it says The client code accepts either the 1.87 or 1.96 style interface. 3.14 will work now. In fact, the entire 1.87-3.14 range (and possibly beyond) will accept

Re: more multiple interface support using VERSION

2004-03-01 Thread David Nicol
David Manura wrote: use Text::Balanced '1.95_1.96'; -davidm I don't understand the scenario in which someone besides the module author would ever use this. If I have understood this thread so far, the interface changed in version 1.96 and then changed back, and you want to support the poor

more multiple interface support using VERSION

2004-02-24 Thread david nicol
a choice to zag or zig, that's where you go for a hint. (I have verified that caller() is available within VERSION.) -- david nicol this message was sent from a filtering e-mail address. your reply must include a listed magic phrase such as perl

Smarty templates

2004-02-09 Thread david nicol
Has anyone written a Perl parser for PHP's Smarty template language? -- david nicol Hands all over Western culture Ruffling feathers and turning eagles into vultures

[Fwd: [perl #25268] h2xs does not create VERSION stubs]

2004-02-02 Thread david nicol
So here's what I got back from perlbug -- david nicol shift back the cost. www.pay2send.com ---BeginMessage--- See CPAN/authors/id/J/JP/JPEACOCK/version-Limit-0.01.tar.gz for a way to do this using the version module and Perl 5.8.0+ ---End Message---

Re: VERSION as (interface,revision) pair and CPAN++

2004-01-22 Thread david nicol
On Thu, 2004-01-22 at 07:46, A. Pagaltzis wrote: * david nicol [EMAIL PROTECTED] [2004-01-22 03:43]: and rewriting Crequire in some way to respect that? Obviously you don't even need to; providing a custom VERSION() is all you have to do. Yes, this seems to be the Original Design. Where

VERSION as (interface,revision) pair and CPAN++

2004-01-21 Thread david nicol
. :) David Nicol -- david nicol In order to understand what another person is saying, you must assume that it is true and try to imagine what it could be true of. (George Miller; 1980.)

Re: cpan name spaces (was: Re: Re3: Re: How about class Foo {...} definition for Perl? )

2004-01-20 Thread david nicol
to allow this, but vanilla Perl does not account for such a situation. Sure there is: You can edit the include search path. -- david nicol In order to understand what another person is saying, you must assume that it is true and try to imagine what it could be true of. (George Miller; 1980.)

Re: cpan name spaces (was: Re: Re3: Re: How about class Foo {...} definition for Perl? )

2004-01-20 Thread david nicol
/FAQ.pm does not contain a section on version compatibility, maybe you could submit one? -- david nicol In order to understand what another person is saying, you must assume that it is true and try to imagine what it could be true of. (George Miller; 1980.)

Re: [Class::MultiList] Need feedback for first distribution

2004-01-20 Thread david nicol
: the AUTOLOAD function needs to know how to punt. -- david nicol In order to understand what another person is saying, you must assume that it is true and try to imagine what it could be true of. (George Miller; 1980.)

would you$please shut the door?

2004-01-12 Thread david nicol
Is this an appropriate post to module-authors or would it be better taken to fun-with-perl? It's a module announcement... Acme::please is for randomly inserting please into your output via a tied scalar. The string and printing percentage are both configurable (see the documentation.)

atomic locking web service?

2004-01-06 Thread david nicol
? -- david nicol Take your time. -- Allan Quaterman

Re: Lingua::EN::Inflect extension name

2004-01-03 Thread david nicol
another way to do that is with either the Pollute or the Pollute::Persistent modules, which are concerned with re-exporting imported symbols. -- david nicol And now for something boldly anticlimactic.

web service single-sign-on identity module(s)

2003-12-24 Thread david nicol
/listinfo/tjais-dev David Nicol -- david nicol The elves have left the building

Re: Simple multi-level tie

2003-12-22 Thread david nicol
these steps to safely use a local hashed file. -- david nicol The elves have left the building

Re: Simple multi-level tie

2003-12-18 Thread david nicol
. $hash{a} will get a reference to an empty hash stored in it, then the empty hash will get {complicated} added to it, etc. DirDB deals with this by hijacking empty hash references and tieing them too. -- david nicol perl -e 'printf ah, hot %x.\n, 12648430'

Re: Simple multi-level tie

2003-12-18 Thread david nicol
think Tie::HashWrapper is a fine name for a module that wraps a hash in a to-be-declared layer. You could get cute and call it Blintz or Burrito or something. Maybe zigzag. -- david nicol perl -e 'printf ah, hot %x.\n, 12648430'

Re: Simple multi-level tie

2003-12-18 Thread david nicol
familiar with in Perl: (FETCH|STORE)(KEY|VALUE)?. me too (is this list averse to me toos? I am new here) -- david nicol The elves have left the building

tie::late

2003-12-18 Thread david nicol
? -- david nicol The elves have left the building

Re: Simple multi-level tie

2003-12-17 Thread david nicol
reiserfs) DirDB might be the module for you rather than a single-file database. -- david nicol Where the hell did I put my coffee?

<    1   2