Think about Loose Coupling | |
PerlMonks |
Re^3: pattern matching with large regexby lidden (Curate) |
on Aug 13, 2005 at 21:46 UTC ( [id://483612]=note: print w/replies, xml ) | Need Help?? |
In your 'one_large' example you get the first match. In 'many_small' you get the last one, try adding a last when you get a match in the for loop and see what happens.
In Section
Seekers of Perl Wisdom
|
|