Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94927]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-05-01 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (545 votes). Check out past polls.