Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
shmem throws a bavarian hesh bug at thezip
[shmem]: note how only a change of rhytm and from mayor to minor makes cuban out of bavarian ;-)
[shmem]: well, cadences are a bit different, also. But those are frills, too.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-04-27 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.