Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: error on file open

by choroba (Canon)
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.

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

Comment on Re: error on file open
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-11-30 22:07 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (786 votes), past polls