Syntactic Confectionery Delight | |
PerlMonks |
Re: Problem with hashesby Ratazong (Monsignor) |
on Feb 09, 2012 at 14:52 UTC ( [id://952743]=note: print w/replies, xml ) | Need Help?? |
Hi! The reason of this error-message is that there is no entry for $word[-1] in the hash. You could check with exists before to handle that situation. HTH, Rata PS.: please use <code>-tags!
In Section
Seekers of Perl Wisdom
|
|