in reply to Re: Re: Passing Array to seperate file
in thread Passing Array to seperate file

the "targetfile.pl" now can do the following:
foreach my $line (@ARGV) { print "$line\n"; # or do anything else with it }