Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Using Hashesby Anonymous Monk |
on Jun 19, 2003 at 23:25 UTC ( [id://267386]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I'm getting an error which I believe I'm trying to use a hash which consist of a number and compare to see if that number is given. If it is, then I want to print out a string. Unfortunately, I get this error: Argument "2EN" isn't numeric in eq at Calsdiscrete.pl line 71 This is my code:Can you tell me what I'm doing wrong? My text file is this: I'm reading the two columns of numbers and I want to print the last column. ex. (on,off) 203-06-21 edit ybiC: <tt>, <code> and <p> tags
Back to
Seekers of Perl Wisdom
|
|