Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Trouble testing if on-the-fly generated checkboxes are checked

by Your Mother (Archbishop)
on Jun 06, 2018 at 04:46 UTC ( [id://1215978]=note: print w/replies, xml ) Need Help??


in reply to Trouble testing if on-the-fly generated checkboxes are checked

Without checking your code, just going on your post–

perl -le 'print "YUM!" if "tamales" == "rellenos"' YUM!

== 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1215978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-18 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found