1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
#!perl
# ABSTRACT: Script to execute Perl::Tidy::Sweetened cleanup
# PODNAME: perltidy-sweet
use strict;
use warnings;
use Perl::Tidy::Sweetened;
Perl::Tidy::Sweetened::perltidy();
__END__
=pod
=head1 NAME
perltidy-sweet - Script to execute Perl::Tidy::Sweetened cleanup
=head1 DESCRIPTION
This script is a drop in replacement for L<Perl::Tidy>'s C<perltidy> which
uses L<Perl::Tidy::Sweetened> to cleanup Perl code with a more "modern" syntax
(ie, L<Method::Signatures::Simple>, L<MooseX::Method::Signatures>,
L<MooseX::Declare>, L<Kavorka>, etc).
See the documentation for L<Perl::Tidy> and L<perltidy> for usage. See
L<Perl::Tidy::Sweetened> for more information about the changes introduced.
=head1 SEE ALSO
L<Perl::Tidy>
=head1 AUTHOR
Mark Grimes <mgrimes@cpan.org>
=head1 SOURCE
Source repository is at L<https://github.com/mvgrimes/Perl-Tidy-Sweetened>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://github.com/mvgrimes/Perl-Tidy-Sweetened/issues>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2023 by Mark Grimes <mgrimes@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
|