| 1 | Sourcescip-debian debian perltidier 1.20-1 perltidier/Source.: perltidierscip-debian debian perltidier 1.20-1 perltidier/ |
| 2 | Sectionscip-debian debian perltidier 1.20-1 perltidier/Section.: perlscip-debian . . . section/perl. |
| 3 | Priorityscip-debian debian perltidier 1.20-1 perltidier/Priority.: optionalscip-debian . . . priority/optional. |
| 4 | Build-Dependsscip-debian debian perltidier 1.20-1 perltidier/Build-Depends.: |
| 5 | debhelper-compatscip-debian debian debhelper-compat . debhelper-compat/debhelper-compat# (= 13), |
| 6 | libmodule-build-tiny-perlscip-debian debian libmodule-build-tiny-perl . libmodule-build-tiny-perl/libmodule-build-tiny-perl#, |
| 7 | libtest-differences-perlscip-debian debian libtest-differences-perl . libtest-differences-perl/libtest-differences-perl# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 8 | libtest-most-perlscip-debian debian libtest-most-perl . libtest-most-perl/libtest-most-perl# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 9 | perlscip-debian debian perl . perl/perl#, |
| 10 | perltidyscip-debian debian perltidy . perltidy/perltidy# (>= 20230309) <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 11 | Maintainerscip-debian debian perltidier 1.20-1 perltidier/Maintainer.: Debian Perl Group <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 12 | Uploadersscip-debian debian perltidier 1.20-1 perltidier/Uploaders.: |
| 13 | Jonas Smedegaard <[email protected]scip-debian . . . identity/`[email protected]`.>, |
| 14 | Standards-Versionscip-debian debian perltidier 1.20-1 perltidier/Standards-Version.: 4.6.2 |
| 15 | Vcs-Gitscip-debian debian perltidier 1.20-1 perltidier/Vcs-Git.: https://salsa.debian.org/perl-team/modules/packages/perltidier.git |
| 16 | Vcs-Browserscip-debian debian perltidier 1.20-1 perltidier/Vcs-Browser.: https://salsa.debian.org/perl-team/modules/packages/perltidierscip-debian . . . url/`https://salsa.debian.org/perl-team/modules/packages/perltidier`. |
| 17 | Homepagescip-debian debian perltidier 1.20-1 perltidier/Homepage.: https://metacpan.org/release/Perl-Tidy-Sweetenedscip-debian . . . url/`https://metacpan.org/release/Perl-Tidy-Sweetened`. |
| 18 | Rules-Requires-Rootscip-debian debian perltidier 1.20-1 perltidier/Rules-Requires-Root.: no |
| 19 | Testsuitescip-debian debian perltidier 1.20-1 perltidier/Testsuite.: autopkgtest-pkg-perl |
| 20 | |
| 21 | Packagescip-debian debian perltidier 1.20-1 perltidier/perltidier#Package.: perltidierscip-debian debian perltidier . perltidier/perltidier# |
| 22 | Architecturescip-debian debian perltidier 1.20-1 perltidier/perltidier#Architecture.: allscip-debian . . . architecture/all. |
| 23 | Dependsscip-debian debian perltidier 1.20-1 perltidier/perltidier#Depends.: |
| 24 | perltidyscip-debian debian perltidy . perltidy/perltidy# (>= 20230309), |
| 25 | ${misc:Depends}, |
| 26 | ${perl:Depends}, |
| 27 | Enhancesscip-debian debian perltidier 1.20-1 perltidier/perltidier#Enhances.: |
| 28 | perltidyscip-debian debian perltidy . perltidy/perltidy#, |
| 29 | Descriptionscip-debian debian perltidier 1.20-1 perltidier/perltidier#Description.: tweaks to Perl::Tidy to support some syntactic sugar |
| 30 | There are a number of modules on CPAN |
| 31 | that allow users to write their classes with a more "modern" syntax. |
| 32 | These tools eliminate the need to shift off $self, |
| 33 | can support type checking |
| 34 | and offer other improvements. |
| 35 | Unfortunately, they can break the support tools |
| 36 | that the Perl community has come to rely on. |
| 37 | This module attempts to work around those issues. |
| 38 | . |
| 39 | The module uses Perl::Tidy's "prefilter" and "postfilter" hooks |
| 40 | to support "method" and "func" keywords, |
| 41 | including the (possibly multi-line) parameter lists. |
| 42 | This is quite an ugly hack, |
| 43 | but it is the recommended method of supporting these new keywords. |
| 44 | The resulting formatted code will leave the parameter lists untouched. |
| 45 | . |
| 46 | Perl::Tidy::Sweetened attempts to support the syntax |
| 47 | outlined in the following modules, |
| 48 | but most of the new syntax styles should work: |
| 49 | * p5-mop |
| 50 | * Method::Signatures::Simple |
| 51 | * MooseX::Method::Signatures |
| 52 | * MooseX::Declare |
| 53 | * Moops |
| 54 | * perl 5.20 signatures |
| 55 | * Kavorka |