Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: PerlMessy: Perltidy's little tattletaling sister

by jmcnamara (Monsignor)
on Jun 03, 2003 at 09:01 UTC ( #262597=note: print w/ replies, xml ) Need Help??


in reply to PerlMessy: Perltidy's little tattletaling sister


Nice. ++

I once planned to use perltidy to do something similar as part of CPANTS. However, it fell off the bottom of my TODO list. :-)

One of the planned features was to compare the input and output sources using several known styles. This would hopefully give sufficient credit to code that was using a consistent style even if it didn't conform to perltidy's default which is perlstyle. The intention was to provide an objective code metric. Whether, the metric would be useful or not is another debate.

One note, the system call should probably be something like the following for Unix systems:

system("perltidy $_") == 0 ...

--
John.


Comment on Re: PerlMessy: Perltidy's little tattletaling sister
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2014-08-20 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (120 votes), past polls