Regexp capture group list
Paul LeoNerd Evans
leonerd at leonerd.org.uk
Tue Nov 10 14:18:22 GMT 2009
On Tue, Nov 10, 2009 at 01:59:24PM +0000, Jasper wrote:
> return map $$_, 1..$#-
>
> too hideous? (I would think it was fine...)
That isn't going to work under strict... Surely you mean..?
return map { no strict 'refs'; $$_ } 1 .. $#-;
;)
In any case, I think I prefer the match in m// then cut of matching
prefix idea, as suggested by Philip Newton..
--
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
Url : http://london.pm.org/pipermail/london.pm/attachments/20091110/f53ece38/attachment.pgp
More information about the london.pm
mailing list