nagashankarp
IS-IT--Management
Greetings to all
I have a requirement of passing a few user-defined parameters through Net::Telnet and these parameters will be used by my UNIX Script, is there a way to do this..
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10);
$t->open("sever");
$t->login(user, pass);
@lines = $t->cmd("/cc/ac_scr.sh $CL $EA");
In the above examples I want to use $CL and $EA which are on the windows system and needs to be passed to the unix system for the script ac_scr.sh to work.
Cheers
Shankar
I have a requirement of passing a few user-defined parameters through Net::Telnet and these parameters will be used by my UNIX Script, is there a way to do this..
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10);
$t->open("sever");
$t->login(user, pass);
@lines = $t->cmd("/cc/ac_scr.sh $CL $EA");
In the above examples I want to use $CL and $EA which are on the windows system and needs to be passed to the unix system for the script ac_scr.sh to work.
Cheers
Shankar