perltidier
tweaks to Perl::Tidy to support some syntactic sugar
Command lineDevelopment
Not tested on a device yet. What that means
Commands in the package
perltidierperltidy-sweet
About perltidier
From Debian's package description
There are a number of modules on CPAN that allow users to write their classes with a more "modern" syntax. These tools eliminate the need to shift off $self, can support type checking and offer other improvements. Unfortunately, they can break the support tools that the Perl community has come to rely on. This module attempts to work around those issues.
The module uses Perl::Tidy's "prefilter" and "postfilter" hooks to support "method" and "func" keywords, including the (possibly multi-line) parameter lists. This is quite an ugly hack, but it is the recommended method of supporting these new keywords. The resulting formatted code will leave the parameter lists untouched.
Perl::Tidy::Sweetened attempts to support the syntax outlined in the following modules, but most of the new syntax styles should work:
- p5-mop
- Method::Signatures::Simple
- MooseX::Method::Signatures
- MooseX::Declare
- Moops
- perl 5.20 signatures
- Kavorka
From Debian's description of the perltidier package, under that package's license.
Dependencies
Depends on
Related apps
- clang-tidyclang-based C++ linter toolCommand line
- perltidyPerl script indenter and reformatterCommand line
- xmltv-utilutilities related to the XMLTV file format for TV listingsCommand line
- debgptGeneral Purpose Terminal LLM Tool with Some Debian-Specific DesignCommand line
- heySends some load to a web applicationCommand line
- kconfig-frontendsStandalone implementation of the Linux Kconfig parser and frontendCommand line
Sources and licenses
- Name: the Debian package name.
- Summary: Debian's short description of the perltidier package, under that package's license.
- Description: Debian's description of the perltidier package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.