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

Friendly error trapping

by bradcathey (Prior)
on Sep 13, 2005 at 00:15 UTC ( #491423=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    open UPLOADFILE, ">$upload_dir/$filename" or die "$!\n";
    ...
    
  2. or download this
    my $error = uploader($dir, $name);
    print $error if ($error);
    ...
       open UPLOADFILE, ">$upload_dir/$filename" or return("There was a pr
    +oblem uploading your file: $!");
       ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2023-01-30 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?