Yes these varaibles are set on Windows and can be extracted in by perl program.
I have gone a bit further since my last post. I have managed a work around for now by writing a temp file, see below
use IO::File;
use Net::Telnet ();
$ccuser = $ENV { 'CLEARCASE_USER' };
$log =...
When i execute the line
$t->cmd("/cc/ac_scr.sh $ENV{CL} $ENV{EA}");
it uses the env variables that are set in UNIX system.
But if I use this script to run from a Windows system and the parameters are set on windows they are not passed.
Is there a way to do this ?
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)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.