Pod::POM::View::HTML::Filter 0.09
Sponsored Links
Pod::POM::View::HTML::Filter 0.09 Ranking & Summary
File size:
0.024 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
512
Date added:
2007-07-11
Publisher:
Philippe Bruhat
Pod::POM::View::HTML::Filter 0.09 description
Pod::POM::View::HTML::Filter Perl module can use filters on sections of your pod documents.
SYNOPSIS
In your POD:
Some coloured Perl code:
=begin filter perl
# now in full colour!
$A++;
=end filter
=for filter=perl $A++; # this works too
This should read C
:
=begin filter foo
bar foo bar
=end filter
In your code:
my $view = Pod::POM::View::HTML::Filter->new;
$view->add(
foo => {
code => sub { my $s = shift; $s =~ s/foo/bar/gm; $s },
# other options are available
}
);
my $pom = Pod::POM->parse_file( /my/pod/file );
$pom->present($view);
/* Perl colouring styles */ .c { color: #228B22;} /* comment */ .cm { color: #000000;} /* comma */ .co { color: #000000;} /* colon */ .h { color: #CD5555; font-weight:bold;} /* here-doc-target */ .hh { color: #CD5555; font-style:italic;} /* here-doc-text */ .i { color: #00688B;} /* identifier */ .j { color: #CD5555; font-weight:bold;} /* label */ .k { color: #8B008B; font-weight:bold;} /* keyword */ .m { color: #FF0000; font-weight:bold;} /* subroutine */ .n { color: #B452CD;} /* numeric */ .p { color: #000000;} /* paren */ .pd { color: #228B22; font-style:italic;} /* pod-text */ .pu { color: #000000;} /* punctuation */ .q { color: #CD5555;} /* quote */ .s { color: #000000;} /* structure */ .sc { color: #000000;} /* semicolon */ .v { color: #B452CD;} /* v-string */ .w { color: #000000;} /* bareword */ -->
The resulting HTML will look like this (modulo the stylesheet):
# now in full colour!
$A++;
$A++; # this works too
This should read bar bar bar:
bar bar bar
SYNOPSIS
In your POD:
Some coloured Perl code:
=begin filter perl
# now in full colour!
$A++;
=end filter
=for filter=perl $A++; # this works too
This should read C
=begin filter foo
bar foo bar
=end filter
In your code:
my $view = Pod::POM::View::HTML::Filter->new;
$view->add(
foo => {
code => sub { my $s = shift; $s =~ s/foo/bar/gm; $s },
# other options are available
}
);
my $pom = Pod::POM->parse_file( /my/pod/file );
$pom->present($view);
/* Perl colouring styles */ .c { color: #228B22;} /* comment */ .cm { color: #000000;} /* comma */ .co { color: #000000;} /* colon */ .h { color: #CD5555; font-weight:bold;} /* here-doc-target */ .hh { color: #CD5555; font-style:italic;} /* here-doc-text */ .i { color: #00688B;} /* identifier */ .j { color: #CD5555; font-weight:bold;} /* label */ .k { color: #8B008B; font-weight:bold;} /* keyword */ .m { color: #FF0000; font-weight:bold;} /* subroutine */ .n { color: #B452CD;} /* numeric */ .p { color: #000000;} /* paren */ .pd { color: #228B22; font-style:italic;} /* pod-text */ .pu { color: #000000;} /* punctuation */ .q { color: #CD5555;} /* quote */ .s { color: #000000;} /* structure */ .sc { color: #000000;} /* semicolon */ .v { color: #B452CD;} /* v-string */ .w { color: #000000;} /* bareword */ -->
The resulting HTML will look like this (modulo the stylesheet):
# now in full colour!
$A++;
$A++; # this works too
This should read bar bar bar:
bar bar bar
Pod::POM::View::HTML::Filter 0.09 Screenshot
Advertisements
Pod::POM::View::HTML::Filter 0.09 Keywords
POM
HTML
CD5555
Filter 0.09
Filter Perl
Perl module
can use
Perl
000000
bar
filter
pod
s
Pod::POM::View::HTML::Filter
PodPOMViewHTMLFilter
Pod::POM::View::HTML::Filter 0.09
Bookmark Pod::POM::View::HTML::Filter 0.09
Pod::POM::View::HTML::Filter 0.09 Copyright
WareSeeker periodically updates pricing and software information of Pod::POM::View::HTML::Filter 0.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Pod::POM::View::HTML::Filter 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Pod::Html::HtmlTree is a Perl module to convert pod files to html tree. Free Download
Pod::Simple::HTMLBatch is a Perl module to convert several Pod files to several HTML files. Free Download
Pod::HTML_Elements is a Perl module to convert POD to tree of LWPs HTML::Element and hence HTML or PostScript. Free Download
Pod::Html is a Perl module to convert pod files to HTML. Free Download
PDF::FromHTML::Twig is a Perl module with PDF::FromHTML guts. Free Download
Pod::Simple::Wiki is a class for creating Pod to Wiki filters. Free Download
Pod::POM is a POD Object Model. Free Download
Pod::XML is a Perl module to convert POD to XML. Free Download
Latest Software
Popular Software
Favourite Software