If foo was from a module, it didn't work.. But thanks, now I know.my %funny; foo(\%funny); sub foo(\%) { my $foo = shift; $foo->{"FOO"} = "BAR"; }
In reply to RE: Re: Hash reference question
by Anonymous Monk
in thread Hash reference question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |