in reply to Mangled print output -- any ideas why?
In the first line of output the program is printing what you expect to the screen up to the end of the phone number. Then it is coming back to the beginning of the same line and printing ", UK Routers" over the top of "Dialing 01 o".
Best to go back and double check the parsing-in of the data (Did you chop a CRLF instead of chomp? Did you import the data from a Mac?) -- or failing that, fix it here. $ref->{'phone'} =~ s/\015$//; You might be tempted to do: $ref->{'phone'} =~ s/\r$//; And it may likely work in this case. But be aware that \r varies from system to system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Mangled print output -- any ideas why?
by Anonymous Monk on Jan 08, 2002 at 00:03 UTC | |
by Albannach (Monsignor) on Jan 08, 2002 at 00:26 UTC |