Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use Net::Telnet @files = disks, readdir(MDIR)); $t = new Net::Telnet(Timeout => 2810, Prompt => '/%/', Host => 'hostname' ); $t->login( "username", "password" ); foreach $x ( @files ) { $t->cmd( "run command here/$x" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: net telnet help
by meetraz (Hermit) on Dec 15, 2004 at 22:26 UTC | |
by ikegami (Patriarch) on Dec 15, 2004 at 23:48 UTC | |
|
Re: net telnet help
by Anonymous Monk on Dec 15, 2004 at 22:30 UTC |