Travis Thornhill wrote:
Is there such a thing?
Yes there is.
I'm trying to take a HoH and make a reference to a sub-part of the hash. This doesn't work: my %sub_hash = $main_hash{'sub_hash'}; I get the following error: Reference found where even-sized list expected at ./my_buggy_program line 30. Any quick tips on how to reference and assign this sub-hash?
my %sub_hash; @sub_hash{ 'sub_hash' } = @main_hash{ 'sub_hash' }; John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/