in reply to How do I process multiple files in parallel?

- Move your open statement out of the while loop
- are you writing the array into a file later??
-
open(OUT,"> TEST") or die($!: can't open output file") ; while(<DATA>) { push @array,$2 if (/^(Sen|Acc|Cor) = (\S+)/) ; } local $"="\n" ; print "@array" ;


Manav

Replies are listed 'Best First'.
Re^2: How do I process multiple files in parallel?
by Anonymous Monk on Feb 25, 2005 at 17:01 UTC
    yes i will be