Ben sent the following bits through the ether: > Anyone have any ideas? I know I'm being a bit naughty by blessing $a > into someone else's package, but I don't think a segmentation fault > is entirely the correct thing to do.
Um, you can't do that - you are being naughty ;-). XML::LibXML::Attr is really XS (search for "PACKAGE = XML::LibXML::Attr" in LibXML.xs) and the library expects the XLI::LibXML::Attr scalar to really contain an xmlNodePtr. You may want to ask in the perl-xml list: http://lists.perl.org/showlist.cgi?name=perl-xml Although note this recent post: http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/1525408 HTH, Leon -- Leon Brocard.............................http://www.astray.com/ scribot.................................http://www.scribot.com/ ... f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng