
Jasmine
Administrator
Jan 19, 2001, 11:55 AM
Post #1 of 1
(3439 views)
|
Is there a pretty-printer (formatter) for Perl?
|
Can't Post
|
|
(From the Perl FAQ) Is there a pretty-printer (formatter) for Perl? There is no program that will reformat Perl as much as indent(1) does for C. The complex feedback between the scanner and the parser (this feedback is what confuses the vgrind and emacs programs) makes it challenging at best to write a stand-alone Perl parser. Of course, if you simply follow the guidelines in the http://, but the results are not particularly satisfying for sophisticated code.
|