MODPODS(1p)

πŸ“¦
version 2.2.0 Β· 4 versions
, in ubuntu noble, ubuntu questing

πŸ’… modpods β€” like, the NAME section, bestie

okay so modpods ✨ it prints out the paths for the standard modules. that's the whole vibe. that's it. and honestly? iconic. πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so what this program does is it outputs the paths to all installed modules on your systems. yes, ALL of them. πŸ’…

and that means both:

  • the standard modules β€” which the stdpods command produces 🌸
  • and the site-specific ones β€” which the sitepods command produces πŸŽ€

and listen. bestie. it's literally just a front-end for calling pminst -l. that's the tea πŸ“ it was supplied to make it more obvious what it does. like, the name tells you what's happening. main character naming energy fr fr. πŸ‘‘


🌈 EXAMPLE 🌈

okay so here's the slay: this finds all the modules whose documentation mentions destructors, and cats it out at you. 🐱✨

$ podgrep -i destructor `modpods`

=head1 /usr/local/devperl/lib/5.00554/i686-linux/DB_File.pm chunk 371

Having read L<perltie> you will probably have already guessed that the
error is caused by the extra copy of the tied object stored in C<$X>.
If you haven't, then the problem boils down to the fact that the
B<DB_File> destructor, DESTROY, will not be called until I<all>
references to the tied object are destroyed. Both the tied variable,
C<%x>, and C<$X> above hold a reference to the object. The call to
untie() will destroy the first, but C<$X> still holds a valid
reference, so the destructor will not get called and the database file
F<tst.fil> will remain open. The fact that Berkeley DB then reports the
attempt to open a database that is alreday open via the catch-all
"Invalid argument" doesn't help.

=head1 /usr/local/devperl/lib/5.00554/Tie/Array.pm chunk 40

Normal object destructor method.

the way that it just vomits the whole chunk at you 😭 obsessed. also yes, "alreday" is spelled like that in the output, i don't make the rules, i just respect the source material πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

go read these next, they're all linked up like a little friend group 🫢


πŸ‘‘ AUTHORS and COPYRIGHTS πŸ‘‘

give it up for the founders, periodt πŸ’œ

  • Copyright (C) 1999 Tom Christiansen.
  • Copyright (C) 2006-2014 Mark Leighton Fisher.

πŸŽ€ LICENSE πŸŽ€

so this is free software; you can redistribute it and/or modify it under the terms of either:

  1. (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
  2. (b) the Perl "Artistic License".

(this is the Perl 5 licensing scheme.)

⚠️ ok important lore drop bestie: please note this is a change from the original pmtools-1.00 (still available on CPAN), because pmtools-1.00 were licensed only under the Perl "Artistic License". so like, glow up. πŸ’…

and that's the whole page, no notes. this one's from perl v5.36.0, dated 2022-10-14 β€” modpods(1p), out. mwah πŸ’‹πŸ¦‹βœ¨

πŸ“¦ where this page comes from