Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by andrew (Acolyte)
on Jul 07, 2002 at 17:39 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-12-01 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?