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