On Sep 23, 9:42 pm, soorajspadmanab...@gmail.com (Sooraj S) wrote:
> p2
> ===
> use Net::Telnet;
>
> $t = new Net::Telnet();
> $t->open("machine");
> $t->login("user","paswd");
> $t->cmd("p3 $flag");
> $t->close();
Since you are using the Net::Telnet Module.. it would have been better
if you used
On Sep 23, 9:42 am, soorajspadmanab...@gmail.com (Sooraj S) wrote:
> Hi,
>
> In my perl script p1 i am calling another script p2 which logs into a
> remote machine and executes a script p3. The $file defined in p3 does
> not exist. So copy operation in p3 will error out with error code 256
> and p3
Hi Sooraj,
On Friday 24 September 2010 13:54:06 Sooraj S wrote:
> Hi Shlomi,
>
> > Did you try looking at the shell's "$?" variable?
>
> I've clearly mentioned that i am using the "$?" value to find out the
> exist status through out my code.
Well, you need to add a command like:
echo $?
At t
Hi Shlomi,
> Did you try looking at the shell's "$?" variable?
I've clearly mentioned that i am using the "$?" value to find out the
exist status through out my code.
>What do you mean by not exist?
In p3 u can see that my $file = "/hom/user/file";
I've given the location wrongly as a part of e
Hi Sooraj,
On Thursday 23 September 2010 18:42:17 Sooraj S wrote:
> Hi,
>
> In my perl script p1 i am calling another script p2 which logs into a
> remote machine and executes a script p3.
Generally speaking, executing one perl script you've written from another perl
script is an indication th