Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

my/local, space/time (was: Re: The difference between my and local)

by ariels (Curate)
on Jul 05, 2001 at 11:16 UTC ( #94027=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
      # ...
    ...
    # ...
    sub bar { # ...
    }
    
  2. or download this
    use vars qw/$x, @y, %z/;
    {
    ...
    }
    # ...
    baz(29);                  # (9)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94027]
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>

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.