Perl::...AMMELL(3pm)
π Perl::Critic::PetPeeves::JTRAMMELL π
okay bestie, so this is a page from the User Contributed Perl Documentation (section 3pm for the manpage girlies keeping track), and it's all about a lil module called Perl::Critic::PetPeeves::JTRAMMELL. Yes the title is silly-looking. Yes it's real. Let's get into it β¨
πΈ NAME πΈ
Perl::Critic::PetPeeves::JTRAMMELL β it's a whole collection of policies that straight up prohibit or require the author's personal pet peeves. No cap. If something bugs JTRAMMELL specifically, it might be in here. π
π¦ DESCRIPTION π¦
So the module Perl::Critic::PetPeeves::JTRAMMELL hands you policies that the author wanted but that hadn't already been implemented elsewhere. It's giving "fine, I'll do it myself" energy and honestly? Iconic. π
As of right now, the roster is exactly this one queen:
π Perl::Critic::Policy::Variables::ProhibitUselessInitialization
This policy treats unnecessary initialization as a style violation. Like, if you're assigning a value that was already gonna be there anyway? Ma'am. Why. π
Check the receipts:
my $foo = undef; # assignment not needed
my @bar = (); # ditto
See how both of those lines are just doing the most for absolutely no reason? That's the vibe this policy is side-eyeing. π
π«Ά AUTHOR π«Ά
John Trammell β "<johntrammell =at= gmail !dot! com>" π
π BUGS π
Found a bug? Want a feature? Please report it, bestie, don't just suffer in silence π
- Email:
"bug-perl-critic-petpeeves-jtrammell at rt.cpan.org" - Or use the web interface over at: <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Critic-PetPeeves-JTRAMMELL>
Here's the deal tho: the author gets notified, and then you'll automatically get notified of progress on your bug as changes get made. It's a whole loop. You're in it now. π₯
π SUPPORT π
You can pull up the docs for this module with the perldoc command:
perldoc Perl::Critic::PetPeeves::JTRAMMELL
Also, you can go looking for info at these spots:
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Perl-Critic-PetPeeves-JTRAMMELL>
- CPAN Ratings
<http://cpanratings.perl.org/d/Perl-Critic-PetPeeves-JTRAMMELL>
- RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Perl-Critic-PetPeeves-JTRAMMELL>
- Search CPAN
<http://search.cpan.org/dist/Perl-Critic-PetPeeves-JTRAMMELL>
β¨ ACKNOWLEDGEMENTS β¨
(no notes here, bestie β this section is literally empty in the original, so we're just gonna respectfully leave it as a little blank canvas π¨)
π COPYRIGHT & LICENSE π
Copyright 2011 John Trammell, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Slay, honestly. π«Ά
okay that's the whole page!! this was documented for perl v5.42.0 and dated 2025-07-25, so if you're reading this from the future, hey, the vibes still hold. bye bestie, go fix your useless initializations π
β¨π
π¦ where this page comes from
- fedora 43: perl-Perl-Critic-PetPeeves-JTRAMMELL 0.04-33.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms