Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: OR operator

by DrManhattan (Chaplain)
on Apr 10, 2003 at 13:18 UTC ( #249600=note: print w/replies, xml ) Need Help??


in reply to Re: Re: OR operator
in thread OR operator

*shrug* It works either way.
$ perl -le ' my $color = "blue"; print "Yep" if $color eq "blue"; print "Yep" if "blue" eq $color; ' Yep Yep $

-Matt

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2023-12-11 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?