Re: What would you like to see in XML::LibXML ?

Aaron Crane <[email protected]> Thu, 2 Feb 2012 11:48:24 +0000
Newsgroups gmane.comp.lang.perl.xml
Message-ID <CACmk_tvWxc0hDi1wPkaXvSdp8q2-3Kp47byzgxC_rpH3TbANUA@mail.gmail.com>
Tim Brody <[email protected]> wrote:
> What if we overloaded the node stringification to return the memory
> address of the libxml node instead of the Perl scalar?
[…]
> This would need a big health warning about the difference between
> ref($node) and "$node".

I think that's one reason not to make this specific change:
XML::LibXML's longtime users have been trained to believe that nodes
don't have overloaded stringification.

-- 
Aaron Crane ** http://aaroncrane.co.uk/
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs