develooper Front page | perl.perl5.porters | Postings from September 2002

Re: [RFC] jit.pm - load modules and subroutines just in time

Thread Previous | Thread Next
From:
Benjamin Goldberg
Date:
September 29, 2002 10:28
Subject:
Re: [RFC] jit.pm - load modules and subroutines just in time
Message ID:
3D973945.866DC73@earthlink.net
Elizabeth Mattijsen wrote:
> 
> At 12:33 AM 9/29/02 +0200, Elizabeth Mattijsen wrote:
> >Before uploading to CPAN, I would like to ask p5p for comments on my
> >latest endeavour: jit.pm.
> >Thanks in advance for any comments, remarks and flames (not too hot,
> >please).
> 
> Thank you all for your feedback.  The only real problem that people
> seem to have with jit.pm, is really the name.
> 
> I therefore propose to change the name to "subs.pm".  I realize there
> is a subs pragma already, but I think I can make it work both in the
> old and the new format (with minimal breakage if someone happens to
> have specified only subroutine names that are keywords in the new
> format).
> 
>    use subs 'now';
>    use subs 'ondemand';
> 
> Seems natural to me.
> 
> Would that be an idea?  Or does someone have an even better name than
> "jit" or "subs" ?

If the syntax were:
   use subs ':now';
   use subs ':ondemand';
you could avoid breakage entirely.

-- 
How many Monks would a Chipmonk chip,
if a Chipmonk could chip Monks?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About