in reply to Net::SSH::Expect problem

I've always found cpan:Net::SSH::Expect to be a bit wonky, but nevertheless if you removed the line $ssh->run_ssh() or die "SSH process couldn't start : $!"; it will behave a bit differently. Also you can add the log_file parameter with a filename to new to get diagnostic information.. sorta...


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg