http://qs321.pair.com?node_id=125791


in reply to How to avoid this error...

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.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."