Here's one way,
Since you have a default for the banana key, you shouldn't need to check its existence.my %param = ( apples => 'green', banana => 'yellow', @_ );
After Compline,
Zaxo
In reply to Re: How do I push values onto an existing hash?
by Zaxo
in thread How do I push values onto an existing hash?
by jaa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |