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

Re: Funny usage of print function

by chromatic (Archbishop)
on Mar 20, 2000 at 23:29 UTC ( [id://5737]=note: print w/replies, xml ) Need Help??


in reply to Funny usage of print function

If you have a newline embedded in a quoted string (single or double both work for me), Perl will include it when printing:
print "a b c d";
prints
a b c d
while print "a b c d"; prints a b c d Check for line breaks in your code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-24 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found