in reply to Get variables from if with regex
named captures.
" ... as of Perl 5.10.0 you may use named capture buffers .... The notation is (?<name>...) to declare ..." (and $+{name} to access the captured value in code.
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
|
---|
In Section
Seekers of Perl Wisdom