So, now you've got your datasets in the list @datasets...my $recordSet = 11; open (FILE, $file) or die $!; my @list = <FILE>; close (FILE); my @datasets = (); while (my @subList = splice( @list, 0, $recordSet) ){ push (@datasets, join("\n", @subList); } undef @list;
In reply to Re: Parsing multi-line records
by strat
in thread Parsing multi-line records
by chuntoon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |