Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: The Drivel is in the Details

by FunkyMonk (Canon)
on May 29, 2007 at 22:40 UTC ( #618073=note: print w/replies, xml ) Need Help??

in reply to The Drivel is in the Details

  • XML::Simple returns a reference to a hash.
  • %$ and @$ are used to get a hash and array respectively from a reference (dereferencing)
  • -> is shorthand for dereference-and-access of an array or hash
  • -> allows you to use $source->{$node} instead of %{$source}{$node}
  • -> is also used to call an object's method as you did in $self->print. $self is the object and print is the method

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://618073]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-02-25 14:18 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (365 votes). Check out past polls.