Bingo! Got it...
Thanks John and David. :)
On Mar 11, 2004, at 4:38 PM, John W. Krahn wrote:
Silky Manwani wrote:
Hello,
Hello,
Back with the system command but with a different problem.
I am calling a program with the system command which has arguments.
This program returns a string and I nee
Silky Manwani wrote:
>
> Hello,
Hello,
> Back with the system command but with a different problem.
>
> I am calling a program with the system command which has arguments.
> This program returns a string and I need to capture it.
>
> @args("command","arg1","arg2");
> $res = system(@args);
>
>
Silky Manwani wrote:
> Hello,
>
> Back with the system command but with a different problem.
>
> I am calling a program with the system command which has arguments.
> This program returns a string and I need to capture it.
>
> @args("command","arg1","arg2");
> $res = system(@args);
>
> print $r
Hello,
Back with the system command but with a different problem.
I am calling a program with the system command which has arguments.
This program returns a string and I need to capture it.
@args("command","arg1","arg2");
$res = system(@args);
print $res;
It prints 0;
But before that it print