I'll give this a try in a sec ... :) The program is running on a linux machine with Perl 5.8.0 ... The device I'm telnetting to is a proprietary machine ... Marconi ASX-200 ATM switch ... I believe it's a Wind Rivers embedded OS? Not positive tho ..
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