[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985752: ITP: perltidier -- tweaks to Perl::Tidy to support some syntactic sugar



Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr@jones.dk>
X-Debbugs-Cc: debian-devel@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : perltidier
  Version         : 1.18
  Upstream Author : Mark Grimes <mgrimes@cpan.org>
* URL             : https://metacpan.org/release/Perl-Tidy-Sweetened
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : tweaks to Perl::Tidy to support some syntactic sugar

 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

This package will be maintained in the Perl team.


 - Jonas

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmBZAGEACgkQLHwxRsGg
ASEhaw/9GFkhNsEj3EpcfxryDuqGPhPI4od/Q/NrMviotNk+gk/+pndlZK/n8cn6
9wSiPjFUS1fosVUXtl9PxnV9Tq/4BrUIweLrJJCRoYK3UEoWF5zmvsSEioplwar4
odKnbSIbmyeD0hRM99qYd7bfYzewPMpkTUL9NLwo7d3qRwJ+57UU/OjXzDV1lY6U
3nKJKK0DV8IOWSjhWIluIhQ+NLSGRnGv6klqH17QzvSd4XG7EaslkMaiV/YgaKbQ
PFtLm/FudI64cNGWbAqqrrsoBAQGf+E8uXRA2yVVFC6oJEdtZEzPY1c97zYjUzzV
qLc43EAb9EtAOSunKjaiOxHli7jvfE4S+xzgMOasDnvJN6RFfGZHA+V6wL3Ll3aJ
B8gBnpcLpkzGT2TgQAtAoekCw7Bffs41vqnn3YWD1eerYPb19o5hsAPtFFc2o2pB
he2Lh6xb3r3s9Q6rzcugxCS4uEexy+prL/NSZ5oLdAQjqwTRl/cDV1DX3Bw3YflK
GpYfEpncLDV6l4DsMTOVQ7pW3SBTBe9C1p9Y8o76iyf4HHV2hzWw4wPD3uvxKMCu
W4ZcWQ/gAiwagQ644WBzVT14KmcI2Q9Mj+3aKBK19YgujAl2kSOoItQEzFFOMZ3D
HzD8/F189c+WXntZDrNRFE5ygh4vuttV1si3402pqZqXZFx0s2w=
=IGAR
-----END PGP SIGNATURE-----


Reply to: