Just another Perl shrine | |
PerlMonks |
Re^3: No questions. Just a "thank you for named captures" !!by tobyink (Canon) |
on Feb 07, 2013 at 16:54 UTC ( [id://1017696]=note: print w/replies, xml ) | Need Help?? |
Strangely PCRE (the Perl Compatible Regular Expression engine) also added support for named captures several years before Perl.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Meditations
|
|