Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
Replies are listed 'Best First'.
Re^3: XML Parsing
by choroba (Canon) 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 pondering the Monastery: (8)
As of 2015-07-29 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls