http://www.perlmonks.org?node_id=1016307


in reply to Re: XML Parsing
in thread XML Parsing

This way of invoking the constructor can be problematic:
my $xml_obj = new XML::Smart( $xml ) ;
See the section "Indirect Object Syntax" in Invoking Class Methods