Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^11: true from (-e "") on Windoze (" is an illegal filename character

by syphilis (Archbishop)
on Sep 20, 2012 at 01:58 UTC ( [id://994574]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    -T $file || -B $file
    defined -T $file
    defined -B $file
    
  2. or download this
    #!perl -l
    use warnings;
    ...
    defined -B '""'
      ? print "Returned True (unwanted behaviour)\n"
      : print "Returned False (wanted behaviour)\n";
    
  3. or download this
    -f:
    Returned False (wanted behaviour)
    ...
    
    defined -B:
    Returned False (wanted behaviour)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-23 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found