Hi:
I am running an external command through my perl script and I wanted
to print out the command output to some log file --

my $log = "/tmp/test.log";
my $cmd1 = qq{ ade useview viewname -exec 'ade label_product \\
                -l $label -noinsert -prod dc'  -print >> $log
             };
system($cmd1);

Is the syntax correct?

Thanks.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to