go ahead... be a heretic | |
PerlMonks |
Re: anonymous hashes as arguments in Tkby dimmesdale (Friar) |
on Jul 11, 2002 at 17:53 UTC ( [id://181091]=note: print w/replies, xml ) | Need Help?? |
Thanks.
I don't know what I was thinking. The correct way is to say $_[0] instead of just $_ (i.e., $_[0]->{hash_key}) My mistake. Thanks for the help. Try doing Dumper(@_) before you do anything else in your routine Sorry about any confusion, but the rather cryptic (because of line breaks, what not) block of text in the code tags (with $VAR1) is the text resulting from a print Dumper @_statement.
In Section
Seekers of Perl Wisdom
|
|