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

Re: Using glob in file test gives "Use of uninitialized value in -e" warning.

by NetWallah (Canon)
on Dec 06, 2017 at 21:31 UTC ( [id://1205055]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (-e glob '/abc/def/ghi/test*') # line 4
    
  2. or download this
    my @tests;
    if (@tests =  glob '/abc/def/ghi/test*'  and -e $tests[0]) {# line 4
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-03-19 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found