Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: XML Parsing

by Arunbear (Parson)
on Jan 31, 2013 at 12:24 UTC ( #1016307=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: XML Parsing
Download Code
Re^3: XML Parsing
by choroba (Abbot) on Jan 31, 2013 at 12:31 UTC
    Do you really use
    'XML::Smart'->new
    or
    XML::Smart::->new
    or
    new XML::Smart::
    ?
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      I'm still using
      Foo::Bar->new
      Old habits don't go easily ;) (though I always name Modules with an initial upper case character, and functions with a lower case character, and haven't had any problems with this yet).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016307]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-07-14 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (257 votes), past polls