File: README

package info (click to toggle)
libgetopt-simple-perl 1.52-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 124 kB
  • ctags: 12
  • sloc: perl: 217; makefile: 9
file content (56 lines) | stat: -rw-r--r-- 1,630 bytes parent folder | download | duplicates (3)
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
README file for Getopt::Simple.

Warning: WinZip 8.1 and 9.0 both contain an 'accidental' bug which stops
them recognizing POSIX-style directory structures in valid tar files.
You are better off using a reliable tool such as InfoZip:
ftp://ftp.info-zip.org/pub/infozip/

1 Installing from a Unix-like distro
------------------------------------
shell>gunzip Getopt-Simple-1.47.tgz
shell>tar mxvf Getopt-Simple-1.47.tar

On Unix-like systems, assuming you have installed Module::Build V 0.25+:

shell>perl Build.PL
shell>./Build
shell>./Build test
shell>./Build install

On MS Windows-like systems, assuming you have installed Module::Build V 0.25+:

shell>perl Build.PL
shell>perl Build
shell>perl Build test
shell>perl Build install

Alternately, without Module::Build, you do this:

Note: 'make' on MS Windows-like systems may be called 'nmake' or 'dmake'.

shell>perl Makefile.PL
shell>make
shell>make test
shell>su              (for Unix-like systems)
shell>make install
shell>exit            (for Unix-like systems)

On all systems:

Run Simple.pm through you favourite pod2html translator.

If you are using my fancy-pom2.pl, with its 'default.css' file installed in
/apache2/htdocs/css/, you'd do:

shell>perl fancy-pom2.pl html -css Simple.pm > /apache2/htdocs/Simple.html

or perhaps something like:

shell>perl fancy-pom2.pl html -css Simple.pm > /perl/html/site/lib/Getopt/Simple.html

2 Installing from an ActiveState distro
---------------------------------------
shell>unzip Getopt-Simple-1.47.zip
shell>ppm install --location=. Getopt-Simple
shell>del Getopt-Simple-1.47.ppd
shell>del PPM-Getopt-Simple-1.47.tar.gz