Re: Simple multi-level tie

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

Re: Simple multi-level tie

2003-12-18 Thread david nicol
warning: the above will not autovivify. $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
ay code monkey. > > Cheers, > Sterling I 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
e the names we're already 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
printf or join('',...) and the late module which would be the general one. Thoughts? -- david nicol The elves have left the building

Re: Simple multi-level tie

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

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

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

Re: Namespace suggestions for new module submission (record-level transaction howto?)

2004-01-03 Thread david nicol
gt; requiring admins to upgrade or install new system libs, along with the > requisite Perl modules. > > --Arthur Corliss > Bolverk's Lair -- http://arthur.corlissfamily.org/ > Digital Mages -- http://www.digitalmages.com/ > "Live Free o

Re: Lingua::EN::Inflect extension name

2004-01-03 Thread david nicol
a > good name. ;) yet 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.

Re: Simple multi-level tie

2004-01-06 Thread david nicol
On Mon, 2004-01-05 at 07:03, Martyn J. Pearce wrote: > On Mon, Dec 22, 2003 at 05:41:27PM -0600, david nicol wrote: > > > > open advisory file > > lock advisory file (shared for reading, exclusive for writing) > > tie data file > > access

atomic locking web service?

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

"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.) #!/usr

Re: "would you$please shut the door?"

2004-01-14 Thread david nicol
tie $Incrementor => Tie::Scalar::To::A::Coderef => sub { $count++ }; } EOF bless $_[1] } __END__ -- david nicol "Rabbit troop sucks!"

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

2004-01-20 Thread david nicol
mpose their own conventions 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 t

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

2004-01-20 Thread david nicol
http://search.cpan.org/~tbone/Parse-RecDescent-FAQ-3.25/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
A mechanism: 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.)

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

2004-01-21 Thread david nicol
ure, under the given name. And that tests for things that are broken and you mean to fix in the future would have to be marked as such in the tests.pl. :) 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: 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 C 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 b

Re: Namespace for Ham Radio modules...

2004-01-22 Thread david nicol
FWIW, Linux kernels have had CONFIG_HAMRADIO for a while as the main configuration switch for the AX25 networking subsystem. I agree that the HamRadio:: top level name space should be the one for ham specific stuff, while modules that are applicable to other arenas (text to voice synthesis? mors

[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 --- Begin Message --- 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

"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

Re: [RFC] Text-Balanced 1.96 proposed interface changes: return failure in list context

2004-02-15 Thread david nicol
rds-compatible feature extensions only.) -- david nicol we sing about beauty and we sing about truth at ten thousand dollars a show

more multiple interface support using VERSION

2004-02-24 Thread david nicol
, 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"

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 s

Re: more multiple interface support using VERSION

2004-03-04 Thread david nicol
On Wed, 2004-03-03 at 23:24, David Manura wrote: > > The approach I currently use is what you do not recommend. How does the above > T::B 1.96 source code break Pollute? $caller = caller() unless caller() =~ /^Exporter(?:::Heavy)?$/; $request_versions{$caller} = $req_ver; Pollute works

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 a

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. pri

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'

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 de

RE: defining 'constants' at run time

2004-03-11 Thread david nicol
On Thu, 2004-03-11 at 05:20, Orton, Yves wrote: > use constant ARG1=>$ARGV[0]; > > is better Absolutely. the begin block posting was a hurried and untested example of how to use a BEGIN block. By the time people subscribe to module-authors you'd think they would know how to use a BEGIN block t

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, jun

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 permis

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

2004-05-16 Thread david nicol
PC - St. Louis. It has 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

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: 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 -- da

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 rapid

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: [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: Sub::DeferedPartial (was: Sub::Suspension)

2004-07-08 Thread david nicol
cause by definition as languages approach Lisp 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

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: namespace for users and groups

2004-08-21 Thread david nicol
that you're operating in a CGI context. Assuming you're using something else for the authentication phase, and since accounting was not mentioned in your query, I'll propose CGI::Perms::Baird as something to work from. Boldly brand! -- david nicol "Someday, everything's going to be different when I paint my masterpiece."

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

2004-08-21 Thread david nicol
name would give much insight into > the implications of the implementation, and the trade offs they give. -- 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 differe

Re: namespace for users and groups

2004-08-22 Thread david nicol
ation details? Could you change it to use a hash or a SQL server without altering the interface? Ifyou did, would it make said arbitrary back-end appear treelike? -- david nicol "Someday, everything's going to be different when I paint my masterpiece."

Re: name for singlethreaded web server framework module

2004-08-22 Thread david nicol
HTTP::Server::Singlethreaded version 0.2 is on CPAN and version 0.3 (with segmented reading of large files) is awaiting revision of the documentation and is available at http://davidnicol.com/perl On Sun, 2004-08-22 at 21:35, Ken Williams wrote: > Maybe HTTP::Server::Socket? Or HTTP::Server::Sw

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

2004-08-23 Thread david nicol
or that client gets small. I guess 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: 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

Re: What to name a module that resolves transportation schedules

2004-11-03 Thread David Nicol
Figger::BusRoutes Start a whole new top level name space for tools to help figure things. This may be a joke. On Tue, 02 Nov 2004 14:25:00 -0500, Robert Rothenberg <[EMAIL PROTECTED]> wrote: > > I have written some prototype Perl code that when given a set of bus routes > will give a list of b

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: 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 per-installa

Re: Module Name

2004-12-26 Thread David Nicol
On Sun, 26 Dec 2004 18:59:13 +, Alberto Manuel Brandao Simoes <[EMAIL PROTECTED]> wrote: > Xavier Noria wrote: > > On Dec 26, 2004, at 7:07 PM, Alberto Manuel Brandao Simoes wrote: > > > >> THe idea: > >> > >> RULES foo > >> aa==>bb > >> cd==>ef > >> ENDRULES > >> > >> and it creates the functi

Re: Module Name

2004-12-29 Thread David Nicol
Thanks! at the least, it is an example of what one can do with Filter::Simple! I would use HEREIS syntax for building the code blocks, instead of dotting together doublequoted strings, and put the references inside L. Is Text::RewriteRules powerful enough to define code structures with? Implement

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 the

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: 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 i

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 t

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 l

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: 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. A

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

2005-04-20 Thread David Nicol
the following snippet allows stating things like use Entitize; ... print qq{\n}; ... print qq{The full text of the block is $Entitize{$block}\n}; directly, rather that using the generating functions of CGI.pm, or making intermediate variables to hold the results of

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 d

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

2005-04-22 Thread David Nicol
On 4/21/05, Keith Ivey <[EMAIL PROTECTED]> wrote: > > What is the advantage of Tie::Function over MJD's similar Interpolation.pm? * it's smaller * it gives cute ascii art when you run the tests provided with the package * the documentation is formatted beter * Tie::Function does only one thin

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 t

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 abst

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 boilerpla

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 foru

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: 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 ar

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: 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. -- D

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? > > T

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

2005-12-02 Thread David Nicol
On 12/2/05, Austin Schutz <[EMAIL PROTECTED]> wrote: > As long as the name isn't taken and it has some amount of logic, I > doubt the name of a module makes any practical difference any more. It seems > like the days of poring over proper module names should come to an end. > > *sh

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 cont

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: 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 lik

Re: Unresponsive? How about dead?

2006-04-25 Thread David Nicol
On 4/25/06, Steve Vance <[EMAIL PROTECTED]> wrote: > I know there is a FAQ about module authors who are "unresponsive". But I'm > talking about one who is unresponsive, and his e-mail addresses all bounce, > and > his website is gone, and, well, I fear for the worst. Insert Monty Python Dead > Par

Re: I think we can just scrap CPAN Ratings altogether

2006-05-24 Thread David Nicol
why stop at scrapping CPAN ratings? Let's scrap all of human nature and design a massive robot infrastructure to take over all operations, then just relax in baths of warm goo with wires attached to our brains and enjoy hallucinations of normal late-nineties life, until of course Keanu Reeves wil

Re: This Week on perl5-porters - (12-18 June 2006)

2006-06-22 Thread David Nicol
On 6/22/06, David Landgren <[EMAIL PROTECTED]> wrote: Could Perl get Reversible Debugging? [...] We need a "come from" instruction http://xrl.us/nnuw I don't recall reading a demand for a "come from" instruction in that thread, but I had an idea last night that I was going to dismiss

Re: Give up your modules!

2006-08-15 Thread David Nicol
On 8/14/06, James E Keenan <[EMAIL PROTECTED]> wrote: In the subsequent discussion, people suggested that we need the following: 1. Place for current module authors/maintainers who wish to transfer maintenance of certain modules to so indicate. 2. Place for people who are willing to take ove

framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
the attached proof-of-concept is almost as ugly as my coroutines module on CPAN, but i have succeeded in implementing a tail-recursion framework in pure perl. In order to use it, all modifications to recursive function arguments must be made directly into @_, but a method is suggested for using n

Re: framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
On 8/30/06, Dana Hudes wrote: Have you read MJD's _Higher Order Perl_? He addresses tail end recursion removal. I've skimmed it... did he put up a module that does it for you? I realized that I left my prototype/prrof-of-concept off of the previous message to module authors; here it is -- than

Re: framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
On 8/30/06, Andy Armstrong <[EMAIL PROTECTED]> wrote: Sorry, I've missed something here - how is your 'framework' superior to a simple queue based approach? it demonstrates tail-recursion, as such, and is not intended to be a superior approach to other practices. I just realized that goto sub

Re: framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
On 8/30/06, Andy Armstrong <[EMAIL PROTECTED]> wrote: I don't think goto sub can really be described as a framework... Or if it can may I start describing if() as a decision support system too? I won't stop you :) But why are you showing us this stuff? Who is it for? I'd have thought that a

simple tail recursion code optimizer based on B::Deparse and eval

2006-09-05 Thread David Nicol
getting the invocation syntax right was kind of tricky since my first thought, which was that writing to $_[0] would overwrite the symtab entry for a subroutine when the optimizer was invoked tr_optimize(\&function) turned out to be incorrect -- it will work with globs though -- no support for ano

QD:: could mean "Quick and Dirty"

2006-09-20 Thread David Nicol
On 9/20/06, David E. Wheeler <[EMAIL PROTECTED]> wrote: On Sep 15, 2006, at 21:37, Darren Duncan wrote: > ... > Or, perhaps the best piece of feedback I can get short term is what > to name the module, knowing that it is meant to be temporary. I > thought "quick and dirty" would work well enough

Re: Modules dealing with data files

2006-11-13 Thread David Nicol
On 11/10/06, David Landgren <[EMAIL PROTECTED]> wrote: I suppose it will default to the site_perl directory if run in batch mode, but interactive installations allow the directory to be specified. OS distribution maintainers may wish to override the default (how? an environment variable à la PERL

gnome planner file format?

2006-12-27 Thread David Nicol
Has anyone written a perly interface to the gnome planner file format? It's XML so it's going to be basically a breeze, but I'd rather re-use someone else's tool if available.

Re: Looking for a module name

2007-01-18 Thread David Nicol
is there a DesignPattern:: section? I did not take the time to fully understand your explanation but the gist I got was that you are comfortable with design patterns nomenclature. I know there are at least some documentary CPAN modules concerned with DP in Perl, but do not know if DP-based abstr

Re: Looking for a factory name

2007-01-19 Thread David Nicol
On 1/19/07, Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote: That wasn't the intention, it's really just looking to find a class that is already installed and usable, that itself declares ability to be what you asked for. so the invention in a module that facilitates creation of portable modules

Re: Another non-free license - PerlBuildSystem

2007-02-21 Thread David Nicol
On 2/21/07, Dave Rolsky <[EMAIL PROTECTED]> wrote: Insisting on _a_ license is actually a really good idea. Absent an explicit license, CPAN does not have the right to redistribute the software, nor do mirrors. that's nonsense. CPAN is equipment, it is not an actor with moral compass. Whoever

Re: Another non-free license - PerlBuildSystem

2007-02-21 Thread David Nicol
http://search.cpan.org/src/NKH/PerlBuildSystem-0.43.290/licence.txt it isn't gibberish, it's perfectly clear; he has a restricted licence. So what?

Re: Licenses in a commercial application

2007-03-20 Thread David Nicol
On 3/20/07, Adam Kennedy <[EMAIL PROTECTED]> wrote: Gabor Szabo wrote: > On 3/18/07, David Golden <[EMAIL PROTECTED]> wrote: If you install your program, but say "And since it installs Perl, you can also use it to write your own Perl programs!" that would be overtly making the interfaces visible.

Re: Licenses in a commercial application

2007-03-20 Thread David Nicol
specifically, paragraph 4.c: [you may distribnuted modifed Perl provided you] give non-standard executables non-standard names, and clearly document the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. So, something like "Whizzomatic

Re: Module Proposal: Parse::Reversible

2007-04-25 Thread David Nicol
has anyone mentioned "xeger" yet in this discussion?

Re: New version of perl

2007-05-01 Thread David Nicol
On 5/1/07, Adrian Howard <[EMAIL PROTECTED]> wrote: http://search.cpan.org/~hooo/perl-0.0017/ I suppose a new release of Pollute should handle modifications to the hints variable. -- practical solutions to systemic problems

Re: How to name module for CPAN for common lisp connection

2007-05-08 Thread David Nicol
could your approach be made to work with the Inline:: framework? On 5/6/07, Vadim Konovalov <[EMAIL PROTECTED]> wrote: I want to publish perl-to-lisp bridge module to CPAN. It connects existing LISP implementation to Perl, which turns out to be "robust" LISP out from perl (as opposed to toy impl

Re: LISP module from CPAN

2007-05-08 Thread David Nicol
On 5/8/07, Vadim <[EMAIL PROTECTED]> wrote: no, it uses CFFI, so this should cover every implementation supporting that. Ever since reading "Hackers and Painters" http://www.amazon.com/exec/obidos/ISBN=0596006624/tipjartransactioA I've been defending "Perl is a LISP!" (which is actually quite

Re: LISP module from CPAN

2007-05-09 Thread David Nicol
On 5/9/07, Vadim <[EMAIL PROTECTED]> wrote: I consider eval "$string" as a replacement of macros. for instance, I did the following in a curl wrapper package, to make the curlies optional around the fieldnames: BEGIN { for (qw/ BUFFER CALLBACK DATA EVENT FAILURE FETCHTIMEOUT GET MA

Re: LISP module from CPAN

2007-05-09 Thread David Nicol
so if there were lisp-like macros available in perl, my sugar example might be something like the following? macro hashkeyaccessor(fieldname) { sub fieldname { $_[0]->{fieldname}} }; hashkeyaccessor $_ for qw/FIELD NAMES GO HERE .../; and I would save the trickiness of getting the interpolati

  1   2   >