more useful options | |
PerlMonks |
Re: Understanding -> functionby ccn (Vicar) |
on Dec 28, 2008 at 19:26 UTC ( [id://732914]=note: print w/replies, xml ) | Need Help?? |
see:
The sub cdtcall gets a reference to the %bakjobs hash as an argument and stores it in scalar $bakjobs. Note: %bakjobs and $bakjobs are different variables despite their similar looking names. Well, $bakjobs is a reference to a hash. $bakjobs->{"$2"} returns a value of a key "$2" for that hash. This value is a hash reference again. And $bakjobs->{"$2"}{"dbt"} is an accessor to value of "dbt" key of %{$bakjobs->{"$2"}} hash.
In Section
Seekers of Perl Wisdom
|
|