I habitually run perl with -l enabled (see perlrun), which has the effect of setting $/ = "\n" (and $\ = "\n"), so print adds a newline automatically. Hence the output I posted is unmodifed.
This makes print (roughly?) equivalent to say in Perl 6.
I also seem to recall seeing a news item that suggested that this keyword would also be available in Perl 5 as of v5.10?
In reply to Re^3: spliting a lengthy text
by BrowserUk
in thread splitting and coloring
by sanku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |