Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-10-25 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls