Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re(3): Find and Print Directory Names

by runrig (Abbot)
on Jul 07, 2002 at 17:46 UTC ( #180000=note: print w/replies, xml ) Need Help??


in reply to Re: Re(3): Find and Print Directory Names
in thread s and replace

You really, really should consider File::Find (I see its already been suggested, but I think its worth mentioning out again).
use File::Find; find (sub { print "$_\n" if -d; }, $dir);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2021-11-30 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?