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 perusing the Monastery: (13)
As of 2015-07-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (259 votes), past polls