in reply to Re: Chomp doesn't work
in thread Chomp doesn't work
I got it. It's a little embarasing : each end of line has"\r\n" at the end. So by using this replace statement it works :
$start_input =~ s/\r\n//d;So, if you ever get something similar, think about the "\r" before the "\n".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Chomp doesn't work
by daxim (Curate) on Mar 25, 2013 at 12:31 UTC | |
|
Re^3: Chomp doesn't work
by jwkrahn (Abbot) on Mar 25, 2013 at 18:53 UTC | |
by choroba (Cardinal) on Mar 25, 2013 at 23:49 UTC |