Think about Loose Coupling | |
PerlMonks |
Re^2: Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPIby tobyink (Canon) |
on May 15, 2013 at 21:08 UTC ( [id://1033740]=note: print w/replies, xml ) | Need Help?? |
There is a big string called $input and the output is shown below __END__. If you want pod, I've now uploaded a somewhat refactored and improved version to CPAN as Acme::PPIx::MetaSyntactic.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Cool Uses for Perl
|
|