One other small point, please change the line:
my $output = new IO::File(">xxx.xml");
to
my $output = IO::File->new(">xxx.xml");
Using the indirect object syntax can potentially lead to problems. For a discussion of these problems, see this sub-thread.
--"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: How to avoid this error...
by davorg
in thread How to avoid this error...
by basicdez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |