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

Re: why does 'print ("hey)")' give a warning?

by CharlesClarkson (Curate)
on Jul 09, 2001 at 12:20 UTC ( #94927=note: print w/ replies, xml ) Need Help??


in reply to why does 'print ("hey)")' give a warning?

Because there is a space between print and ("hey)").
Try these:

print("hey)"); print "hey)"; print 'hey)';

HTH,
Charles K. Clarkson


Comment on Re: why does 'print ("hey)")' give a warning?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-08-27 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls