minimal error handling;
authorwenzelm
Wed, 09 Apr 2008 21:49:35 +0200
changeset 26593 8375332b3c96
parent 26592 44cc22b19330
child 26594 1c676ae50311
minimal error handling;
lib/scripts/yxml.pl
--- a/lib/scripts/yxml.pl	Wed Apr 09 21:49:33 2008 +0200
+++ b/lib/scripts/yxml.pl	Wed Apr 09 21:49:35 2008 +0200
@@ -32,5 +32,5 @@
     End => \&handle_end,
     Char => \&handle_char});
 
-$parser->parse(*STDIN);
+$parser->parse(*STDIN) or die $!;