On Thu, Apr 14, 2005 at 08:25:51AM -0400, Anthony DeRobertis wrote:
> Kenneth Pronovici wrote:
> 
> >Since $a hasn't been defined yet in your script, wouldn't you expect an
> >error?
> 
> No. The documentation says that passing a reference to a scalar will 
> have the XML written to the scalar (you can do $a = '' first, it doesn't 
> make a difference).

Ok, I understand now.  The scalar gets converted into an
XML::Writer::_String class which is supposed to act like a 
file handle.  

I've played with this some, but it's beyond my understanding
of Perl.  I'm going to forward it upstream.

KEN

-- 
Kenneth J. Pronovici <[EMAIL PROTECTED]>

Attachment: pgp54ZZlCqpKl.pgp
Description: PGP signature

Reply via email to