in reply to How to remove a carriage return (\r\n)
If chomp won't do it try:
$key =~ s/\r\n//;
Phil
Update: Explained why chomp usually removes your platform default line ending.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to remove a carriage return (\r\n)
by VSarkiss (Monsignor) on Nov 01, 2005 at 16:29 UTC | |
|
Re^2: How to remove a carriage return (\r\n)
by tilly (Archbishop) on Nov 01, 2005 at 16:30 UTC |