File: add-man-page-to-script

package info (click to toggle)
libperl-minimumversion-fast-perl 0.18-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 188 kB
  • sloc: perl: 340; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 831 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
Description: Add man page to script
 add required man page
Author: dod
--- a/script/perlver-fast
+++ b/script/perlver-fast
@@ -13,3 +13,30 @@
     my $v = Perl::MinimumVersion::Fast->new($src);
     printf "%s: %s\n", $_, $v->minimum_version;
 }
+
+=pod
+
+=encoding UTF-8
+
+=head1 NAME
+
+perlver-fast - Find a minimum required version of perl for Perl code
+
+=head1 SYNOPSIS
+
+  $ perlver-fast lib/App/Cme/Common.pm
+  lib/App/Cme/Common.pm: 5.10
+
+=head1 DESCRIPTION
+
+C<perlver-fast> takes Perl source code and calculates the minimum
+version of perl required to be able to run it.
+
+This module supports only Perl 5.8.1+.
+
+=head1 AUTHOR
+
+C<perlver-fast> is written by tokuhirom E<lt>tokuhirom@gmail.comE<gt>.
+
+This man page was written by Dominique Dumont for Debian project. It
+can be reused for other projects.