my $hRef=@_;That should be
An array in scalar context returns the number of elements, not the first element.my ($hRef)=@_;
Dave.
In reply to Re: Passing Reference of a Hash to a method
by dave_the_m
in thread Passing Reference of a Hash to a method
by piyush.shourie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |