Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by syphilis (Canon)
on Sep 20, 2012 at 01:58 UTC ( #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
Node Status?
node history
Node Type: note [id://994574]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-28 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (179 votes), past polls