Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: error on file open

by choroba (Chancellor)
on Nov 25, 2013 at 22:19 UTC ( #1064321=note: print w/replies, xml ) Need Help??


in reply to error on file open

Try printing out $FILENAME. Note that == compares numerically, so strings not starting with numbers are usually equal (0 == 0).

Also, note that readdir returns both files and directories, and that it returns only their names, not full paths.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1064321]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-09-20 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (238 votes). Check out past polls.

    Notices?