And then you do whatever you want with each element of @block. See perldoc -f split.$_ = q(A0 B0 C0 A1 A0 B2 C0); my @block = split /(A0.*?C0)/;
Makeshifts last the longest.
In reply to Re: Extracting blocks of text into separate files
by Aristotle
in thread Extracting blocks of text into separate files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |