Just another Perl shrine | |
PerlMonks |
Re^2: Regexp substitution on variable-length ranges with embedded code?by Polyglot (Chaplain) |
on May 26, 2021 at 14:26 UTC ( [id://11133068]=note: print w/replies, xml ) | Need Help?? |
Your solution works for me, with the addition of:
(I'm on Perl 5.12.) ...but I don't understand it. Specifically, this line is the most difficult one for me:
Is that double-eval'ed or executed? What is the '*F' referencing, and what is the '$^N' from the lines above? I've never seen this kind of regex before. Blessings, ~Polyglot~
In Section
Seekers of Perl Wisdom
|
|