Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2016-12-03 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.