in reply to Re: Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPI
in thread Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPI

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
  • Comment on Re^2: Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPI
  • Select or Download Code