Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: read_dir issue

by moritz (Cardinal)
on Aug 24, 2013 at 19:16 UTC ( #1050827=note: print w/ replies, xml ) Need Help??


in reply to read_dir issue

You are checking -f $file in the current directory, but $file is a file inside the directory you are reading. So there is no such file, and the -f test returns false, which you interpret as a directory.


Comment on Re: read_dir issue
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-10-22 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (113 votes), past polls