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
In Section
Seekers of Perl Wisdom