SUMMARY: How do I take a hash being passed into a function as @_ and convert it to a hash I can do something with, like %myhash?If that's what you really want to do, you don't have to do very much at all
hashy( %x ); sub hashy { my %myhash = @_ }
That should do what you want.
In reply to Re: Trouble passing hash into function
by FunkyMonk
in thread Trouble passing hash into function
by dbonneville
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |