No such thing as a small change | |
PerlMonks |
Uninitialised value in string error(was: Debug pukes here.)by Anonymous Monk |
on May 17, 2002 at 00:05 UTC ( [id://167146]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
if ($q->param('field') eq "") {&printform()} else {&results()}
"...but this is exactly how the line is typed in the book!" I'll let the book remain nameless but it really is what is in the book. I get the message, "Use of unitialized value in string eq at select.cgi line 18. Any one who helps can have a slice of the best rhubard crisp you ever tasted. Unfortunately, I'll have to eat it in your honor... TIA! Edit kudra, 2002-05-17 Changed title; added code tags
Back to
Seekers of Perl Wisdom
|
|