SOLVED (sort of): perl script prints parts of strings in the wrong order
M. Fioretti
mfioretti at nexaima.net
Tue Aug 7 06:07:05 UTC 2018
On 2018-08-07 07:56, Olivier wrote:
> According to perl documentation, chomp removes the eding of a line that
> corresponds to teh current value of $/ so it really depends what you
> set
> into $/
I know that. That is the reason why I was caught off guard. I have
become
so accustomed, for many years, to have $/ = "\r\n" by default on any
Linux
box I worked on, that I thought to anything but a different value for
it.
Of course, my memory may very well fail me on this. At this point, mine
is just a curiosity like "did $/ change at some point in Ubuntu, or
better:
in Perl as packaged for Ubuntu?" But just an unimportant curiosity,
really, no need to
reply unless you really have the answer on the top of your head.
Thanks,
Marco
--
http://mfioretti.com
More information about the ubuntu-users
mailing list