in reply to Re: matching an array
in thread matching an array
and it's not an homework!! LOLopen (FILE1, "<tabtext.txt"); open (FILE2, ">ludo.txt"); while(<FILE1>){ foreach my $paramKey (@params){ if (/$paramKey/){ print FILE2; } } } close(FILE1); close(FILE2);
|
|---|