in reply to Strings mangled on printing
Check to see if $rt has a carriage return character at the end of it.
Perhaps add something like $rt =~ s/\r//g; to strip any out.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Strings mangled on printing
by atcroft (Abbot) on Jun 03, 2015 at 18:12 UTC | |
by roboticus (Chancellor) on Jun 03, 2015 at 22:47 UTC | |
Re^2: Strings mangled on printing
by gordu (Initiate) on Jun 03, 2015 at 17:51 UTC | |
by RonW (Parson) on Jun 04, 2015 at 17:02 UTC | |
by sn1987a (Deacon) on Jun 04, 2015 at 18:56 UTC |
In Section
Seekers of Perl Wisdom