sub describe { my $person = $_[0]; print "$person->{name} is a $person->{job}" } describe( {name=>'buffy',job=>'vampire slayer' } );
In reply to Re: Sending an anonymous hash to a sub
by tcf22
in thread Sending an anonymous hash to a sub
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |