Any suggestions?Yes. Turn on warnings, turn on strict. You're not initializing a hash. You've used curlies where you meant parens. You also don't need the quotes on "$key".
-- Randal L. Schwartz, Perl hacker
In reply to Re: Simple Hash Q.
by merlyn
in thread Simple Hash Q.
by cei
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |