Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by andrew (Acolyte)
on Jul 07, 2002 at 17:39 UTC ( [id://179999]=note: print w/replies, xml ) Need Help??


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

no I want to return all the direcotries is $config(home)$user{site_id}
  • Comment on Re: Re(3): Find and Print Directory Names

Replies are listed 'Best First'.
Re: Re: Re(3): Find and Print Directory Names
by runrig (Abbot) on Jul 07, 2002 at 17:46 UTC
    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://179999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-23 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found