Don't ask to ask, just ask | |
PerlMonks |
Re: Trouble testing if on-the-fly generated checkboxes are checkedby Your Mother (Archbishop) |
on Jun 06, 2018 at 04:46 UTC ( [id://1215978]=note: print w/replies, xml ) | Need Help?? |
Without checking your code, just going on your post–
== forces numeric comparison which forces both string sides to zero, making them equal. Update: I should have said, use eq instead for string equality comparisons.
In Section
Seekers of Perl Wisdom
|
|