Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re^2: A simple import() for those special moments

by shotgunefx (Parson)
on Jan 21, 2003 at 12:20 UTC ( #228663=note: print w/replies, xml ) Need Help??


in reply to Re^2: A simple import() for those special moments
in thread A simple import() for those special moments

Thanks. It's easy enough to make them lexicals. It just didn't bother me to have them our variables. As far as matching Exporters semantics, I wanted it to. I wrote it when tilly's involvment in Exporter was questioned but it made a nice drop-in for existing modules that I wanted to lighten up for CGI purposes.

-Lee

"To be civilized is to deny one's nature."
  • Comment on Re: Re^2: A simple import() for those special moments

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://228663]
help
Chatterbox?
[1nickt]: thezip use Path::Tiny. @paths = path("/foo")-> children; (Excludes "." and ".." automatically.)
[1nickt]: (Also takes a compiled regexp as an arg to filter the list)
[1nickt]: For multiple dirs use iterator(): $it = path("/foo")-> iterator; while ( my $path = $it->() ) {...}
[1nickt]: (also skips . and .. automatically, and follows subdirs if you set <c\>recurse => 1</c>
[1nickt]: $it = path("/foo")-> iterator(recurse => 1 );

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2017-03-28 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (339 votes). Check out past polls.