Grab everyline with 'LONDON' and stick on that ever useful newline. Not necessarily a 'better' way but certainly a quicker one ;o)open(BF, $tsv_data) or die("It ain't there ($tsv_data): $!\n"); @res = map { "$_\n" if /LONDON/ } split(/\n/, <BF>); close(BF);
broquaint
In reply to Re: Processing slurped file.
by broquaint
in thread Processing slurped file.
by Jonathan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |