in reply to Can I catch exceptions

look at die, Perl's inbuilt error-catcher function. As for using it in your script, post your code using the CODE tags and we can help you.

Azatoth a.k.a Captain Whiplash

Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?