Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Unable to split this line of code (printf warning)

by Aristotle (Chancellor)
on Nov 26, 2005 at 00:40 UTC ( [id://511783]=note: print w/replies, xml ) Need Help??


in reply to Unable to split this line of code (printf warning)

That warning is there because someone who writes

print (2+3)*5;

probably meant

print((2+3)*5);

but what they actually get is

(print(2+3))*5;

The warning is both silly and sensible, because the subtle ambiguity in the syntax that it’s about can’t be resolved in any reasonable fashion. Life’s a crapshoot, sometimes.

So either get used to not putting a space between the function and its paren despite your preferences, or say no warnings 'misc'; and risk missing useful warnings. Life’s a crapshoot, sometimes.

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-28 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found