> > Package: libxml-writer-perl > > Version: 0.531-1 > > Severity: normal > > File: /usr/share/perl5/XML/Writer.pm > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > $ perl -MXML::Writer -e 'new XML::Writer(OUTPUT => \$a, ENCODING => > > "utf-8");' > > Not a GLOB reference at /usr/share/perl5/XML/Writer.pm line 442. > > Thanks for the report. I'll take a look at it myself, and if I don't > see anything obvious, I'll forward this upstream.
Ok, I looked at this a little more closely. This error is coming from binmode(), which is expecting a typeglob for its first argument. In this case, that first argument would be a reference to $a. Since $a hasn't been defined yet in your script, wouldn't you expect an error? I find that setting $a=*STDOUT or passing in OUTPUT=>\*STDOUT or OUTPUT=>\*STDERR seems to work fine. I'm really not a Perl expert. Is there something I'm missing here? Thanks, KEN -- Kenneth J. Pronovici <[EMAIL PROTECTED]>
pgpg0TV2sp6Vt.pgp
Description: PGP signature

