Good
point.
-Original Message-From: David Liouville
[mailto:[EMAIL PROTECTED]Sent: Wednesday, November 19,
2003 8:55 AMTo: Rob Dowell; [EMAIL PROTECTED];
[EMAIL PROTECTED]Subject: Re: command line
arg
maby we have only part of informations and
$ARGV[0] is use for
It
should be :
$exy=$ARGV[0];
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of
Tfbsr BertrandSent: Wednesday, November 19, 2003 7:03
AMTo: [EMAIL PROTECTED];
[EMAIL PROTECTED]Subject: command line
arg
I am trying to pass a file ext
I would use:
my $cmd = 'cabarc.exe L '.$cabFile;
my (@list) = qx/$cmd/;
my $status = $?;
HandleError($status,join(' ',@list)) if $status;
foreach my $line (@list){
# Do something
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of George
Gallen
Sent:
I have used this
method with great success:
my $cmd =
'cabarc.exe L '.$cabFile; my (@list) = qx/$cmd/; my $status =
$?; HandleError($status,join(' ',@list)) if
$status;
where HandleError is
my own error handling routine.
>Am I
able to capture the output of a system call?
>Current