I *think* you meant : $line =~ s/\r\n$//;
At any rate, that had 0 effect :)
On Wed, 2003-01-08 at 14:50, Dave K wrote:
> Jason,
> You didn't say anyting about the OSs involved, but the '\n' *nix eoln
> versus win '\r\n' is an often encountered problem.
> if you are *nix and target is or may be win
>
> while (my $line = $Telnet->getline(Timeout => 5,)) {
> $line =~ s/\r\n$\\;
> chomp $line;
> ...
>
> might do the trick.
> HTH
>
> "Jason Frisvold" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
--
---------------------------
Jason H. Frisvold
Backbone Engineer
Penteledata Engineering
[EMAIL PROTECTED]
RedHat Certified - RHCE # 807302349405893
---------------------------
"Something mysterious is formed, born in the silent void. Waiting alone
and unmoving, it is at once still and yet in constant motion. It is the
source of all programs. I do not know its name, so I will call it the
Tao of Programming."
signature.asc
Description: This is a digitally signed message part
