Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Re: Re: Re^4 Useful addition to Perl?

by demerphq (Chancellor)
on Mar 08, 2004 at 11:23 UTC ( [id://334760]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub recurse_dir {
      my $dir=shift;
    ...
      find { wanted=> sub {push @files,$_ unless -d $_}, no_chdir=>1},$dir
    +;
      return @dirs;
    }
    
  2. or download this
    my @argv=map { -d $_ ? recurse_dir($_) : $_ } @ARGV;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://334760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found