Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: true from (-e "") on Windoze

by monsoon (Pilgrim)
on Jul 03, 2012 at 04:33 UTC ( #979575=note: print w/ replies, xml ) Need Help??


in reply to true from (-e "") on Windoze

$file = '""'; if (-e $file && !-d $file) { print "Yep\n"; } else {print "Nope\n"; }
Won't work of course if the file list can contain directories.


Comment on Re: true from (-e "") on Windoze
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2014-07-10 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (214 votes), past polls