Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-03-28 17:26 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (339 votes). Check out past polls.