Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Equality of strings

by Corion (Pope)
on Oct 21, 2019 at 19:41 UTC ( #11107786=note: print w/replies, xml ) Need Help??


in reply to Equality of strings

== is the operator for numerical comparisons, just as !=. See perlop.

You likely want eq or ne.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2021-05-16 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (151 votes). Check out past polls.

    Notices?