Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: bsd_glob does not reset $! (The lessons learned)

by ikegami (Pope)
on Sep 29, 2006 at 15:33 UTC ( #575555=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @list = bsd_glob('~gnat', GLOB_ERR);
    
    ...
    
    die("glob returned no existing results\n")
       if not @list;
    
  2. or download this
    # XXX WRONG
    $rv = print $fh (...);
    ...
    if ($rv) {
       die("Unable to write to file: $!\n")
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-09-19 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls