Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmcnamara/pod-simple-wiki
A Perl Module for creating Pod to Wiki filters.
https://github.com/jmcnamara/pod-simple-wiki
Last synced: about 1 month ago
JSON representation
A Perl Module for creating Pod to Wiki filters.
- Host: GitHub
- URL: https://github.com/jmcnamara/pod-simple-wiki
- Owner: jmcnamara
- Created: 2009-08-27T00:20:32.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T10:57:51.000Z (over 7 years ago)
- Last Synced: 2024-06-27T00:22:54.038Z (5 months ago)
- Language: Perl
- Homepage: http://search.cpan.org/~jmcnamara/Pod-Simple-Wiki/
- Size: 187 KB
- Stars: 8
- Watchers: 5
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
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
use strict;
use warnings;
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 [email protected]COPYRIGHT
Copyright MMIII-MMXV, 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.