Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Descending a directory tree, returning a list of files

by Rodster001 (Pilgrim)
on Jun 09, 2015 at 20:22 UTC ( [id://1129701]=note: print w/replies, xml ) Need Help??


in reply to Re: Descending a directory tree, returning a list of files
in thread Descending a directory tree, returning a list of files

That was it. Bareword directory handle. For some reason I thought that was private to that sub routine. Thank you!
  • Comment on Re^2: Descending a directory tree, returning a list of files

Replies are listed 'Best First'.
Re^3: Descending a directory tree, returning a list of files
by kennethk (Abbot) on Jun 09, 2015 at 21:32 UTC
    Forgetting that bareword handles are global is a common issue, which is why (for me at least) Bareword Handles Considered Harmful.

    #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

      They are now officially a thing of the past. I'll never use em' again :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found