http://qs321.pair.com?node_id=179999


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);