Welcome to the Monastery | |
PerlMonks |
Re: Get variables from if with regexby TomDLux (Vicar) |
on Mar 09, 2013 at 19:29 UTC ( [id://1022615]=note: print w/replies, xml ) | Need Help?? |
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
|
|