Can't call method "print" on unblessed reference at /usr/opt/perl/5.8. +5/lib/XML/Writer.pm line 116. at /usr/opt/perl/5.8.5/lib/XML/Writer.pm line 116 XML::Writer::__ANON__[/usr/opt/perl/5.8.5/lib/XML/Writer.pm:12 +5] called at /usr/opt/perl/5.8.5/lib/XML/Writer.pm line 133 XML::Writer::__ANON__[/usr/opt/perl/5.8.5/lib/XML/Writer.pm:13 +5] called at /usr/opt/perl/5.8.5/lib/XML/Writer.pm line 476 XML::Writer::xmlDecl('XML::Writer=HASH(0xd6dbe0)') called at g +en_activity.pl line 150 main::gen_blob('HASH(0xd2edac)') called at gen_activity.pl lin +e 115
my $output; # XML Writers object 147 my $xmlObj = new XML::Writer(OUTPUT=> \$output, NEWLINES=>0) +; 148 149 # Start XML file with the line <xml version = "1.0 150 $xmlObj->xmlDecl();
In reply to Re^2: Writing output to a scalar with XML::Writer
by longliveAJ
in thread Writing output to a scalar with XML::Writer
by longliveAJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |