go ahead... be a heretic | |
PerlMonks |
Re^2: Best practice or cargo cult?by strat (Canon) |
on Jun 21, 2006 at 08:41 UTC ( [id://556606]=note: print w/replies, xml ) | Need Help?? |
If my RE is too long for a single line but rather simple, I just use /x without a comment within the RE (maybe there's one before, e.g
(Well, I know there are better ways to parse html than with REs, but it was the first example that came into my mind) I only use g, s, m when really needed and not as default options.
Best regards,
In Section
Seekers of Perl Wisdom
|
|