⭐
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";
[download]
prints
a b c d
[download]
while
print "a b c d";
prints
a b c d
Check for line breaks in your code.
Comment on
Re: Funny usage of print function
Select
or
Download
Code
In Section
Seekers of Perl Wisdom