my $r = join "[|]" => ("([^|]*)") x 31; while (/^$r\n/mg) { ... }
This (untested) code sets $1 through $31.
Abigail
In reply to Re: split and sysread()
by Abigail-II
in thread split and sysread()
by relaxed137
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |