in reply to XML Parser Error Handling
eval { # dangerous code} if ($@) { print "It up and died: $@\n"; } [download]
-Mark