Shevek wrote:

On Thu, 17 Oct 2002, Belden Lyman wrote:


Kevin Gurney wrote:

P.S If anyone feels so inclined, a better way of matching

the numbers would be most appreciated as I'm simply picking
everything in a 12 char range each time.

In the interest of more than one way, here's something else:

pos($_) = 9;  # skip first 9 chars
push @ext, $1 while /(.{12})/g;

Wouldn't it be better to use split with a zero width lookahead assertion?

S.


Dunno - I'm having trouble writing such a split. zero width lookahead;
not my forte. I assume the use of the lookahead is to skip the pos() ?


Reply via email to