⭐ 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:
printsprint "a b c d";
while print "a b c d"; prints a b c d Check for line breaks in your code.a b c d
In Section
Seekers of Perl Wisdom