Debian Codegraph @

bin/pminclude

raw
1 #!/usr/bin/env perl
2 # pminclude -- show the include path for modules (@INC)
3
4 use strict;
5 use warnings;
6
7 our $VERSION = '2.0.0';
8
9 BEGIN { $^W = 1 }
10
11 for my $inc (@INC) {
12 print "$inc\n";
13 }
14
15 __END__
16
17 =head1 NAME
18
19 pminclude - show the include path for modules (@INC)
20
21 =head1 DESCRIPTION
22
23 This is mostly here for people too lazy to type:
24
25 $ perl -V | tail
26
27 =head1 EXAMPLES
28
29 $ pminclude
30 /etc/perl
31 /usr/local/lib/perl/5.14.2
32 /usr/local/share/perl/5.14.2
33 /usr/lib/perl5
34 /usr/share/perl5
35 /usr/lib/perl/5.14
36 /usr/share/perl/5.14
37 /usr/local/lib/site_perl
38
39
40 =head1 SEE ALSO
41
42 pmls(1), pmpath(1)
43
44 =head1 AUTHORS and COPYRIGHTS
45
46 Copyright (C) 2013-2014 Mark Leighton Fisher.
47
48 =head1 LICENSE
49
50 This is free software; you can redistribute it and/or modify it
51 under the terms of either:
52 (a) the GNU General Public License as published by the Free
53 Software Foundation; either version 1, or (at your option) any
54 later version, or
55 (b) the Perl "Artistic License".
56 (This is the Perl 5 licensing scheme.)
57
58 Please note this is a change from the
59 original pmtools-1.00 (still available on CPAN),
60 as pmtools-1.00 were licensed only under the
61 Perl "Artistic License".