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

Re: Little annoying mistakes ... of others

by ikegami (Pope)
on Dec 08, 2008 at 01:58 UTC ( #728833=note: print w/replies, xml ) Need Help??


in reply to Little annoying mistakes ... of others

Omitting parens around argument lists has issues. You've already mentioned the problem with omitting parens in conjunction with || instead of or. There's also

print (3+4)*5; # Prints 7

At least that one warns.

>perl -we"print (3+4)*5" print (...) interpreted as function at -e line 1. Useless use of multiplication (*) in void context at -e line 1. 7

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728833]
help
Chatterbox?
[shmem]: ...for espresso
[LanX]: due coretti, per favore! ;-)
[shmem]: grappa, ginebra o amaretto?
[shmem]: LanX: tried strange stuff wrt autocomplete. No luck :(
[erix]: sambuca

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-03-28 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.