Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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


Comment on Re: The Drivel is in the Details
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-09-23 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls