Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
[Tanktalus]: great, now I'm going to have to convert html codes to text for display... :)
[choroba]: Can you steal the code from pm-cb-g?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-09-25 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?