| Acme-PerlTidy documentation | Contained in the Acme-PerlTidy distribution. |
Acme::PerlTidy - Clean code every time
use Acme::PerlTidy;
# your code here.
Acme::PerlTidy cleans up your code every time you run it.
Yung-chung Lin (a.k.a. xern) <xern@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself
| Acme-PerlTidy documentation | Contained in the Acme-PerlTidy distribution. |
package Acme::PerlTidy; use strict; use Perl::Tidy; our $VERSION = '0.02'; open 0 or print "Can't open '$0'\n" and exit; my $src = join'', <0>; my $dest; Perl::Tidy::perltidy( source => \$src, destination => $0, ); #print $dest; 1; __END__