Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPI

by LanX (Canon)
on May 14, 2013 at 13:35 UTC ( #1033459=note: print w/ replies, xml ) Need Help??


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

Can I also use PPI to auto-comment your code and get a POD like description of what it does incl. examples ? ;-)

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re: Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPI
Re^2: Just for fun: relabel Perl variables and function names using Acme::MetaSyntactic and PPI
by tobyink (Abbot) on May 15, 2013 at 21:08 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-07-04 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls