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 sys‐
10       tems.  This includes both the standard modules (which the stdpods com‐
11       mand produces) and the site-specific ones (which the sitepods command
12       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 std‐
43       pod(1).
44
46       Copyright (c) 1999 Tom Christiansen
47
48       This is free software.  You may modify it and distribute it under
49       Perl's Artistic Licence.  Modified versions must be clearly indicated.
50
51
52
53perl v5.8.8                       2006-03-30                        MODPODS(1)
Impressum