my $th = new Net::Telnet (Timeout => 5, #Errmode => 'die', input_log => 'telnet_prompt.log', Prompt => '/$username?/'); $th->open("$server"); $th->login("$user", "$unixpass"); @lines = $th->cmd("backup_sybase.pl Server.Name=$instance Backup.Datab +ase=$cltdb"); print @lines;
In reply to The cmd sent to the remote telnet will not run by mnlight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |