1MODPODS(1)            User Contributed Perl Documentation           MODPODS(1)
2
3
4

NAME

6       modpods - print out paths for the standard modules
7

DESCRIPTION

9       This program outputs the paths to all installed modules on your
10       systems.  This includes both the standard modules (which the stdpods
11       command produces) and the site-specific ones (which the sitepods
12       command produces).
13
14       This is just a front-end for calling pminst -l, supplied to make it
15       more obvious what it does.
16

EXAMPLE

18       This finds all the modules whose documentation mentions destructors,
19       and cats it out at you.
20
21           $ podgrep -i destructor `modpods`
22
23           =head1 /usr/local/devperl/lib/5.00554/i686-linux/DB_File.pm chunk 371
24
25           Having read L<perltie> you will probably have already guessed that the
26           error is caused by the extra copy of the tied object stored in C<$X>.
27           If you haven't, then the problem boils down to the fact that the
28           B<DB_File> destructor, DESTROY, will not be called until I<all>
29           references to the tied object are destroyed. Both the tied variable,
30           C<%x>, and C<$X> above hold a reference to the object. The call to
31           untie() will destroy the first, but C<$X> still holds a valid
32           reference, so the destructor will not get called and the database file
33           F<tst.fil> will remain open. The fact that Berkeley DB then reports the
34           attempt to open a database that is alreday open via the catch-all
35           "Invalid argument" doesn't help.
36
37           =head1 /usr/local/devperl/lib/5.00554/Tie/Array.pm chunk 40
38
39           Normal object destructor method.
40

SEE ALSO

42       podgrep(1), modpods(1), pods(1), sitepods(1), podpath(1), and
43       stdpod(1).
44

AUTHORS and COPYRIGHTS

46       Copyright (C) 1999 Tom Christiansen.
47
48       Copyright (C) 2006-2014 Mark Leighton Fisher.
49

LICENSE

51       This is free software; you can redistribute it and/or modify it under
52       the terms of either: (a) the GNU General Public License as published by
53       the Free Software Foundation; either version 1, or (at your option) any
54       later version, or (b) the Perl "Artistic License".  (This is the Perl 5
55       licensing scheme.)
56
57       Please note this is a change from the original pmtools-1.00 (still
58       available on CPAN), as pmtools-1.00 were licensed only under the Perl
59       "Artistic License".
60
61
62
63perl v5.36.1                      2023-05-31                        MODPODS(1)
Impressum