laziness, impatience, and hubris | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Maybe off topic, but I'm meditating about the most elegant way to put a regex into a $var such that its automatically expanded to "(?<var>$var)" when constructing bigger REs.
Maybe with a tied hash %N redefining fetch... This would not only be DRY but also allow full control about all capture names...
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: Named captures or positional variables
by LanX
|
|