Package : perl-Perl-Tidy-Sweetened > RPM : perl-Perl-Tidy-Sweetened-1.180.0-2.mga9.noarch.rpm

Basic items

Install
Name perl-Perl-Tidy-Sweetened
Version 1.180.0
Release 2.mga9
URL https://metacpan.org/release/Perl-Tidy-Sweetened
Group Development/Perl
Summary Tweaks to Perl::Tidy to support some syntactic sugar
Size 98KB
Arch noarch
License GPL+ or Artistic

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 (see the 2010-12-17
entry in the Perl::Tidy CHANGES
<https://metacpan.org/source/SHANCOCK/Perl-Tidy-20120714/CHANGES> file).
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
* MooseX::Declare
* perl 5.20 signatures

Media information

Distribution release Mageia 9
Media name core-release
Media arch i586

Advanced items

Source RPM perl-Perl-Tidy-Sweetened-1.180.0-2.mga9.src.rpm
Build time 2022-03-21 14:37:19
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie