Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Try catch perl

Status
Not open for further replies.

WxJ

Technical User
Joined
Jun 8, 2006
Messages
5
Location
US
How do you set up a try catch structure in perl? I need the catch to catch all errors and ideally print the type of error they were.
 
eval {
do something;
}; print$@;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top