Perl: the Markov chain saw | |
PerlMonks |
Re: Modifying the keys in a hashby Sidhekin (Priest) |
on Feb 23, 2007 at 10:10 UTC ( [id://601720]=note: print w/replies, xml ) | Need Help?? |
No other way. Sorry. However, you can make it less clumsy (at least avoid repeating $hash{'key1'}) by using the return value from delete:
print "Just another Perl ${\(trickster and hacker)},"
In Section
Seekers of Perl Wisdom
|
|