in reply to Re^13: Reusing a complex regexp in multiple spots, escaping the regexp
in thread Reusing a complex regexp in multiple spots, escaping the regexp
This covers exactly my understanding.
You'll also find this in perlop for m//
- "But now, the only reasons to use /o are one of:..."
The perldocs are vast and often redundant, and sometimes contradictory.
They are like much of the code base a collaborative design.
The wording at perlre is at best dubious and as far as I can see not substationated.
As long as nobody shows me a real bug caused by /o I'd call this BS.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^15: Reusing a complex regexp in multiple spots, escaping the regexp
by dave_the_m (Monsignor) on Apr 17, 2026 at 11:52 UTC | |
by LanX (Saint) on Apr 17, 2026 at 13:59 UTC | |
by dave_the_m (Monsignor) on Apr 17, 2026 at 14:52 UTC | |
by LanX (Saint) on Apr 17, 2026 at 15:13 UTC | |
by dave_the_m (Monsignor) on Apr 17, 2026 at 15:29 UTC | |
| |
by LanX (Saint) on Apr 17, 2026 at 13:27 UTC | |
by choroba (Cardinal) on Apr 17, 2026 at 13:30 UTC |