"Martin A. Hansen" wrote:
> 
> hi

Hello,

> how to use an array as input for a external command called within a perl script?
> 
> im looking to pipe the array to the extarnal program ...

open PIPE, '| somecommand' or die "Cannot open pipe to somecommand: $!";

print PIPE @array;

close PIPE or die "Cannot close pipe to somecommand: $!";



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to