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

Re: Direcctory Traversal

by sk (Curate)
on Sep 22, 2005 at 17:20 UTC ( #494214=note: print w/replies, xml ) Need Help??


in reply to Direcctory Traversal

Is there a particular reason why you did not do something like this?

use strict; use warnings; use File::Find; my $dir= '/some/directory'; finddepth(\&printme, $dir); sub printme { print $File::Find::name,$/; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-09-30 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (562 votes). Check out past polls.