Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: listing all subdirectories of directory into file

by sauoq (Abbot)
on May 26, 2012 at 06:38 UTC ( #972577=note: print w/ replies, xml ) Need Help??


in reply to Re^3: listing all subdirectories of directory into file
in thread listing all subdirectories of directory into file

It requires the user to understand callbacks, depth-first vs. width first, How to get the current directory name

Ah, but if you are going to roll it by hand, you should probably understand depth vs. breadth first searching. And certainly how to get the current directory name. You might also want to know a thing or two about symlinks and symlink loops, and think out your error handling. And, really, if you are going to do all that, there's a good chance you understand callbacks already. (BTW, I don't know how much you really need to understand about callbacks to follow an example and use one; not that I advocate using something that you don't understand... but you gotta learn somehow.)

-sauoq
"My two cents aren't worth a dime.";


Comment on Re^4: listing all subdirectories of directory into file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2014-11-24 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (141 votes), past polls