Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Perl stricter than my OS regarding file/dir names

by jffry (Hermit)
on Feb 15, 2006 at 21:20 UTC ( [id://530527]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl stricter than my OS regarding file/dir names
in thread Perl stricter than my OS regarding file/dir names

Not sure why the existence of the directory would matter. Most of the time, it doesn't exist.
user@host:/home # perl -w print "OK" if -d 'I_swear_this_file_aint_here'; print "See, I told you.\n" <CTRL+D> See, I told you. user@host:/home
I see no special output if the tested for file doesn't exist. It just silently fails.

But...

Thanks for the warnings info! That looks to be what I need, I'll bet.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-16 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found