Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Operator precedence

by mbond (Beadle)
on Apr 09, 2001 at 22:52 UTC ( [id://71106]=note: print w/replies, xml ) Need Help??


in reply to Operator precedence

Thi may be a trvial responce, but: Why not use paran's in a more standard way, at least this is a case that seems more standard to me.... I always put function param's into ()'s ... its easier to read later, imho.
$foo = 'This is a CAPITAL test, man'; $bar = 'IS A cap'; if (lc($foo) =~ lc($bar)) { print lc($foo), "\n", lc($bar), "\nYES\n"; } else { print lc($foo), "\n", lc($bar), "\nNO\n"; }
Mbond.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found