in reply to matching input to hash keys
Well, you've defined the list you want in @a, passed it to the subroutine, but never used it :)
Update: Ugh! I just saw your comment about not giving you corrected code, so I've put my fix in an HTML comment. "View source", if you dare!
Cheers,
Ovid
Vote for paco!
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|