in reply to Performance problems on splitting long strings
Is there any way of saying something like: "A4" repeated as many times as possible (until the end of the string?
Yes:
my @array = unpack '(A4)*', $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Performance problems on splitting long strings
by Laurent_R (Canon) on Jan 30, 2014 at 19:41 UTC | |
by AnomalousMonk (Archbishop) on Jan 30, 2014 at 21:17 UTC |