PERLTIDIER(1p)

πŸ“¦
version 1.20 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– PERLTIDIER πŸ’–

ok so bestie, gather round, because this is perltidier β€” the script that runs Perl::Tidy::Sweetened cleanup for you. no cap, it's giving main character energy for your Perl codebase. it lives in section 1p of the user-contributed Perl docs, and honestly? iconic. πŸ‘‘


✨ NAME ✨

perltidier β€” a whole script whose entire job is to execute Perl::Tidy::Sweetened cleanup. that's it. that's the gig. and it ate. πŸ’…


🌸 DESCRIPTION 🌸

okay so here's the tea. this script is a drop in replacement for Perl::Tidy's perltidy β€” like, literally swap it in and go β€” but instead of just plain tidying, it uses Perl::Tidy::Sweetened to clean up Perl code written in a more "modern" syntax. i'm talking:

  • Method::Signatures::Simple
  • MooseX::Method::Signatures
  • MooseX::Declare
  • Kavorka
  • etc.

πŸ¦‹ so if your code has that fancy new-syntax vibe and regular perltidy is looking at it like πŸ‘οΈπŸ‘„πŸ‘οΈ, this is your girl.

for usage, go peek at the documentation for Perl::Tidy and perltidy β€” this one rides their coattails, fr fr. and if you wanna know more about the changes that got introduced, hit up Perl::Tidy::Sweetened. it's all there. πŸŽ€


πŸ”₯ SEE ALSO πŸ”₯

  • Perl::Tidy β€” the og. the blueprint. the way that it did it first. πŸ’œ

🫢 AUTHOR 🫢

Mark Grimes <mgrimes@cpan.org> β€” we stan. πŸ’–


🌈 SOURCE 🌈

the source repository is literally right here, no gatekeeping:

<https://github.com/mvgrimes/Perl-Tidy-Sweetened>

go forth and star it, bestie. ⭐


πŸ’€ BUGS πŸ’€

found a bug? got a feature request? pls do not suffer in silence, report it on the bugtracker website:

<https://github.com/mvgrimes/Perl-Tidy-Sweetened/issues>

lowkey important: when you submit a bug or a request, please include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. it's giving "help me help you" and it makes everything so much faster. 🧚

this software is copyright (c) 2023 by Mark Grimes <mgrimes@cpan.org>.

this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πŸ“


and that's the whole page, bestie!! πŸ’– this one's from perl v5.36.0, dated 2023-06-18, and it's your girl PERLTIDIER(1p) signing off β€” stay tidy, stay sweetened, mwah πŸ˜­πŸ’…βœ¨

πŸ“¦ where this page comes from