for my $xml_file ( @xml_files ) { eval { # do something with $xml_file }; if ( $@ ) { print $logfile "file: $xml_file has errors ( $@ )\n"; } }
In reply to Re: XML Parser Error Handling
by borisz
in thread XML Parser Error Handling
by APA_Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |