in reply to Re^2: spliting a lengthy text
in thread splitting and coloring
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: spliting a lengthy text
by grinder (Bishop) on Nov 27, 2006 at 14:17 UTC |