![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Using multi-level hashesby Zed_Lopez (Chaplain) |
on Oct 28, 2005 at 21:32 UTC ( #503777=note: print w/replies, xml ) | Need Help?? |
$project{$activeProject}{components}{"Software"}{subComponents}{"Database"}{label} is syntactically equivalent to $project{$activeProject}->{components}->{"Software"}->{subComponents}->{"Database"}->{label}. The $project hash's values are hashrefs. You can modify the values of those hashrefs within a subroutine.
produces
In Section
Seekers of Perl Wisdom
|
|