Then you have a 2D array of sections and items in @data.my @data; my $count = 0; while (<FOO>) { /^=+$/ and $count++, next; push @{$data[$count]}, $_; }
In reply to Re: Range Operator Mysteries
by repson
in thread Range Operator Mysteries
by PerlGrok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |