in reply to Re^4: Substitution in range operator
in thread Substitution in range operator
I'm not sure if it is an issue with the Perl version (I am using 5.16.3 and 5.22), but rather with line endings on Windows. I don't use Windows myself, but there are considerations with line-endings on that platform; do a search and you'll find at least a couple of discussions about the topic in the last couple of months.
What happens if you change the key line to:
?$txt =~ s/\r\n\|/ /g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Substitution in range operator
by benaw (Novice) on Dec 30, 2015 at 07:27 UTC | |
by benaw (Novice) on Dec 30, 2015 at 07:43 UTC | |
by Anonymous Monk on Dec 30, 2015 at 07:56 UTC | |
|
Re^6: Subistution in range operator
by benaw (Novice) on Jan 07, 2016 at 05:54 UTC |