![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: Variable matching on a regexby almut (Canon) |
on Jun 17, 2010 at 14:47 UTC ( #845217=note: print w/replies, xml ) | Need Help?? |
not really sure why the last match doesn't get included or why the first one is undef I think the capture group needs to be closed before being able to push its value. This would work without further ado:
output:
the following would work only once:
output:
In Section
Seekers of Perl Wisdom
|
|