my $param = @_;
When you assign an array to a scalar, it gets the number of items in the array - not what you want. Try this instead:
my %param = @_; print $param{uno}, "\n";
In reply to Re: hash ref 101
by moritz
in thread hash ref 101
by gmoque
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |