File: README

package info (click to toggle)
libpod-simple-wiki-perl 0.08-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 268 kB
  • ctags: 98
  • sloc: perl: 1,980; makefile: 44
file content (62 lines) | stat: -rw-r--r-- 1,453 bytes parent folder | download | duplicates (2)
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
NAME
    Pod::Simple::Wiki - A class for creating Pod to Wiki filters.


DESCRIPTION
    The `Pod::Simple::Wiki' module is used for converting Pod text
    to Wiki text.

    Pod (Plain Old Documentation) is a simple markup language used
    for writing Perl documentation.

    A Wiki is a user extensible web site. It uses very simple mark-
    up that is converted to Html.

    For an introduction to Wikis see:
    http://en.wikipedia.org/wiki/Wiki


SYNOPSIS
    To create a simple `pod2wiki' filter:

        #!/usr/bin/perl -w

        use strict;
        use Pod::Simple::Wiki;

        my $parser = Pod::Simple::Wiki->new();

        if (defined $ARGV[0]) {
            open IN, $ARGV[0]  or die "Couldn't open $ARGV[0]: $!\n";
        } else {
            *IN = *STDIN;
        }

        if (defined $ARGV[1]) {
            open OUT, ">$ARGV[1]" or die "Couldn't open $ARGV[1]: $!\n";
        } else {
            *OUT = *STDOUT;
        }

        $parser->output_fh(*OUT);
        $parser->parse_file(*IN);

        __END__


SEE ALSO
    This module also installs a `pod2wiki' command line utility. See
    `pod2wiki --help' for details.


AUTHOR
    John McNamara jmcnamara@cpan.org


COPYRIGHT
     MMIII-MMV, John McNamara.

    All Rights Reserved. This module is free software. It may be
    used, redistributed and/or modified under the same terms as Perl
    itself.