in reply to Re^3: Writing output to a scalar with XML::Writer
in thread Writing output to a scalar with XML::Writer

$XML::Writer::VERSION - 0.520

print ref \$output
This will print SCALAR

Replies are listed 'Best First'.
Re^5: Writing output to a scalar with XML::Writer
by ikegami (Patriarch) on Feb 15, 2006 at 20:28 UTC

    0.520 did not support this. From the 0.520 documentation:

    OUTPUT

    An object blessed into IO::Handle or one of its subclasses (such as IO::File); if this parameter is not present, the module will write to standard output.

    Passing a string reference was only introduced in 0.530.

      Thanks a lot buddy...