Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
for my $family ( sort keys %HoH ) { print "$family: "; for my $role ( keys %{ $HoH{$family} } ) { print "$role=$HoH{$family}{$role} "; } print "\n"; print "$family: @{ $HoA{$family} }\n"; }
Can't use an undefined value as an ARRAY reference
print "$family: @{ $HoA{$family} }\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What is wrong in this syntax?
by Athanasius (Archbishop) on Jun 30, 2014 at 02:14 UTC | |
|
Re: What is wrong in this syntax?
by Laurent_R (Canon) on Jun 30, 2014 at 06:37 UTC | |
by Anonymous Monk on Jun 30, 2014 at 11:28 UTC | |
|
Re: What is wrong in this syntax?
by Anonymous Monk on Jun 30, 2014 at 02:05 UTC |