use strict; my $file; open FILE, "<test.txt"; { local $/ = undef; $file = <FILE>; } close FILE; my @ab = split /ABC header line/, $file; my @array1 = split /\n/, @ab[0]; my @array2 = split /\n/, @ab[1];
In reply to Re: help...separating strings into arrays!
by munchie
in thread help...separating strings into arrays!
by Superman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |