File: README.md

package info (click to toggle)
libv-perl 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: perl: 556; makefile: 2
file content (68 lines) | stat: -rw-r--r-- 1,936 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# **V**

This module uses stolen code from
[`Module::Info`](https://metacpan.org/pod/Module::Info) to find the location
and version of the specified module(s). It prints them and exit()s.

It works by definening `import()` and is based on an idea from Michael Schwern
on the perl5-porters list. See [the
discussion](https://www.nntp.perl.org/group/perl.perl5.porters/2002/01/msg51007.html)

```bash
🐧 perl -MV=CPAN
CPAN
        /pro/lib/perl5/site_perl/5.40.0/CPAN.pm: 2.38
        /pro/lib/perl5/5.40.0/CPAN.pm: 2.36
```

or if you want more than one package

```bash
🐧 perl -MV=CPAN,V
```

As of version **0.17** it will show all `package`s and `class`es in a file with
a version. (If one wants *all* packages/classes in the files, set the
environment variable `PERL_V_SHOW_ALL`)

```bash
🐧 perl -MV=SOAP::Lite
SOAP::Lite
        /pro/lib/perl5/site_perl/5.40.0/SOAP/Lite.pm:
            SOAP::Lite: 1.27
            SOAP::Client: 1.27
```

# INSTALLATION

To install this module type the following commands:

-   `perl Makefile.PL`
-   `make test`
-   `make install`

# DEPENDENCIES

This module requires no extra modules or libraries from perl version 5.14.0
(exept [`Test::More`](https://metacpan.org/pod/Test::More),
[`Test::Warnings`](https://metacpan.org/pod/Test::Warnings),
[`Test::Fatal`](https://metacpan.org/pod/Test::Fatal) for the test-suite).

# SEE ALSO

To get more info on the programming interface see [`perldoc
V`](https://metacpan.org/pod/V)

# COPYRIGHT

&copy; 2002..2024 Abe Timmerman <abeltje@cpan.org>. All rights reserved.
&copy; 2024..2025 H.Merijn Brand <hmbrand@cpan.org>. All rights reserved.

# LICENSE

This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.