modpods1p
Print out paths for the standard modules
Overview
This program outputs the paths to all installed modules on your systems. This includes both the standard modules (which the stdpods command produces) and the site-specific ones (which the sitepods command produces).
This is just a front-end for calling pminst -l, supplied to make it more obvious what it does.
Examples
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 371Having read L<perltie> you will probably have already guessed that theerror 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 theB<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 tountie() will destroy the first, but C<$X> still holds a validreference, so the destructor will not get called and the database fileF<tst.fil> will remain open. The fact that Berkeley DB then reports theattempt 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 40Normal object destructor method.
AUTHORS and COPYRIGHTS
Copyright (C) 1999 Tom Christiansen.
Copyright (C) 2006-2014 Mark Leighton Fisher.
Releases
13 releases since Debian 2.2 (Potato); the text changed 7 times.