Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

"My two cents aren't worth a dime.";
  • Comment on Re^4: listing all subdirectories of directory into file

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972577]
[1nickt]: tweesers work just fine
[hippo]: Hope everyone else is enjoying their lunch too.
[1nickt]: However, note that it takes between 2 and 4 hours for a tick to be able to start transmitting bacteria. So even if it has burrowed in and started eating, if you get it soon you should be OK.
[perldigious]: 1nickt: No more red meat! It would be more humane to just kill you, wouldn't it! :-)
[1nickt]: Just don't make it barf.
[1nickt]: perldigious that's exactly what my stepson says.
[1nickt]: the tick that can make you a vegetarian
[perldigious]: Your Mother: Yeah, I have a tool for ticks that I use (mostly on my dogs thankfully), but it's just a cheapo one I got from my vets office... it works pretty good though.
erix saw a tick in a natural history museum collected from the scrotum of the curator (it was removed)
[Your Mother]: The exhibit, the tick, or the scrotum?

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-05-24 13:12 GMT
Find Nodes?
    Voting Booth?