for html
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2782
Pod::Html 5.9.4
Pod::Html is a Perl module to convert pod files to HTML. more>>
Pod::Html is a Perl module to convert pod files to HTML.
SYNOPSIS
use Pod::Html;
pod2html([options]);
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.
<<lessSYNOPSIS
use Pod::Html;
pod2html([options]);
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.
Download (13.6MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1159 downloads
Copy as HTML Link 1.1
Copy as HTML Link is a Firefox extension that creates an HTML link to the current page using the selected text and copies it. more>>
Copy as HTML Link is a Firefox extension that creates an HTML link to the current page using the selected text and copies it (into the clipboard) for pasting into other applications.
<<less Download (0.008MB)
Added: 2007-05-07 License: MPL (Mozilla Public License) Price:
910 downloads
HTML::DWT 2.08
HTML::DWT is a Perl module with DreamWeaver HTML Template. more>>
HTML::DWT is a Perl module with DreamWeaver HTML Template.
INSTALLATION
Unzip/tar the archive:
tar xvfz HTML-DWT-2.08
Create the makefile
perl Makefile.PL
Make the module (must have root access to install)
make
make test
make install
SYNOPSIS
use HTML::DWT;
$template = new HTML::DWT(filename => "file.dwt");
%dataHash = (
doctitle => DWT Generated,
leftcont => some HTML content here
);
$html = $template->fill(%dataHash);
or
use HTML::DWT qw(:Template);
$template = new HTML::DWT(filename => "file.dwt");
$template->param(
doctitle => < title >DWT Generated< /title >,
leftcont => Some HTML content here
);
$html = $template->output();
A perl module designed to parse a simple HTML template file generated by Macromedia Dreamweaver and replace fields in the template with values from a CGI script.
<<lessINSTALLATION
Unzip/tar the archive:
tar xvfz HTML-DWT-2.08
Create the makefile
perl Makefile.PL
Make the module (must have root access to install)
make
make test
make install
SYNOPSIS
use HTML::DWT;
$template = new HTML::DWT(filename => "file.dwt");
%dataHash = (
doctitle => DWT Generated,
leftcont => some HTML content here
);
$html = $template->fill(%dataHash);
or
use HTML::DWT qw(:Template);
$template = new HTML::DWT(filename => "file.dwt");
$template->param(
doctitle => < title >DWT Generated< /title >,
leftcont => Some HTML content here
);
$html = $template->output();
A perl module designed to parse a simple HTML template file generated by Macromedia Dreamweaver and replace fields in the template with values from a CGI script.
Download (0.017MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1141 downloads
HTML::Toc 0.21
HTML::Toc module can generate, insert and update HTML Table of Contents. more>>
HTML::Toc module can generate, insert and update HTML Table of Contents.
The HTML::Toc consists out of the following packages:
HTML::Toc
HTML::TocGenerator
HTML::TocInsertor
HTML::TocUpdator
HTML::Toc is the object which will eventually hold the Table of Contents. HTML::TocGenerator does the actual generation of the ToC. HTML::TocInsertor handles the insertion of the ToC in the source. HTML::TocUpdator takes care of updating previously inserted ToCs.
HTML::Parser is the base object of HTML::TocGenerator, HTML::TocInsertor and HTML::TocUpdator. Each of these objects uses its predecessor as its ancestor, as shown in the UML diagram underneath:
+---------------------+
| HTML::Parser |
+---------------------+
+---------------------+
| +parse() |
| +parse_file() |
+----------+----------+
/_
|
+----------+----------+ +-----------+
| HTML::TocGenerator + - - - - - -+ HTML::Toc |
+---------------------+ +-----------+
+---------------------+ +-----------+
| +extend() | | +clear() |
| +extendFromFile() | | +format() |
| +generate() | +-----+-----+
| +generateFromFile() | :
+----------+----------+ :
/_ :
| :
+----------+----------+ :
| HTML::TocInsertor + - - - - - - - - -+
+---------------------+ :
+---------------------+ :
| +insert() | :
| +insertIntoFile() | :
+----------+----------+ :
/_ :
| :
+----------+----------+ :
| HTML::TocUpdator + - - - - - - - - -+
+---------------------+
+---------------------+
| +insert() |
| +insertIntoFile() |
| +update() |
| +updateFile() |
+---------------------+
When generating a ToC youll have to decide which object you want to use:
TocGenerator:
for generating a ToC without inserting the ToC into the source
TocInsertor:
for generating a ToC and inserting the ToC into the source
TocUpdator:
for generating and inserting a ToC, removing any previously inserted ToC elements
Thus in tabular view, each object is capable of:
generating inserting updating
---------------------------------
TocGenerator X
TocInsertor X X
TocUpdator X X X
<<lessThe HTML::Toc consists out of the following packages:
HTML::Toc
HTML::TocGenerator
HTML::TocInsertor
HTML::TocUpdator
HTML::Toc is the object which will eventually hold the Table of Contents. HTML::TocGenerator does the actual generation of the ToC. HTML::TocInsertor handles the insertion of the ToC in the source. HTML::TocUpdator takes care of updating previously inserted ToCs.
HTML::Parser is the base object of HTML::TocGenerator, HTML::TocInsertor and HTML::TocUpdator. Each of these objects uses its predecessor as its ancestor, as shown in the UML diagram underneath:
+---------------------+
| HTML::Parser |
+---------------------+
+---------------------+
| +parse() |
| +parse_file() |
+----------+----------+
/_
|
+----------+----------+ +-----------+
| HTML::TocGenerator + - - - - - -+ HTML::Toc |
+---------------------+ +-----------+
+---------------------+ +-----------+
| +extend() | | +clear() |
| +extendFromFile() | | +format() |
| +generate() | +-----+-----+
| +generateFromFile() | :
+----------+----------+ :
/_ :
| :
+----------+----------+ :
| HTML::TocInsertor + - - - - - - - - -+
+---------------------+ :
+---------------------+ :
| +insert() | :
| +insertIntoFile() | :
+----------+----------+ :
/_ :
| :
+----------+----------+ :
| HTML::TocUpdator + - - - - - - - - -+
+---------------------+
+---------------------+
| +insert() |
| +insertIntoFile() |
| +update() |
| +updateFile() |
+---------------------+
When generating a ToC youll have to decide which object you want to use:
TocGenerator:
for generating a ToC without inserting the ToC into the source
TocInsertor:
for generating a ToC and inserting the ToC into the source
TocUpdator:
for generating and inserting a ToC, removing any previously inserted ToC elements
Thus in tabular view, each object is capable of:
generating inserting updating
---------------------------------
TocGenerator X
TocInsertor X X
TocUpdator X X X
Download (0.042MB)
Added: 2007-08-15 License: Perl Artistic License Price:
800 downloads
OPEN BEXI HTML Builder 1.6
OPEN BEXI HTML Builder is a WYSIWYG HTML editor. more>>
OPEN BEXI HTML Builder is a WYSIWYG HTML editor which allows you to create Web pages and generate HTML code from your browser without any HTML knowledge.
It lets you create, update, and remove HTML components. OPEN BEXI HTML Builder is suitable for beginners and experts.
<<lessIt lets you create, update, and remove HTML components. OPEN BEXI HTML Builder is suitable for beginners and experts.
Download (1.8MB)
Added: 2007-04-05 License: GPL (GNU General Public License) Price:
939 downloads
TEA for Linux 17.2.0
TEA for Linux is a modest and easy-to-use editor with many useful features for HTML editing. more>>
TEA is a modest and easy-to-use GTK+2-based editor with many useful features for HTML editing. It features a small footprint, no annoying confirmations, no toolbars, a tabbed layout engine, support for multiple encodings, code snippets, customizable hotkeys, an "open at cursor" function for HTML files and images, miscellaneous HTML tools, preview in external browser, string manipulation functions, bookmarks, syntax highlighting, and drag-and-drop support.
Main features:
- Extremely small size
- Built-in file manager Kwas
- Spellchecker (using the aspell)
- Tabbed layout engine
- Multiply encodings support
- Code snippets, sessions and templates support
- RTF-reader
- SRT-subtitles preview with Mplayer in a current subtitles position
- Text analyzer called UNITAZ
- Hotkeys customizations
- "Open at cursor"-function for HTML-files and images
- Misc HTML tools
- Bracket matching
- Preview in external browsers
- String-handling functions such as sorting, reverse, format killing, trimming, filtering, conversions etc.
- Bookmarks
- Morse code translator
- Ugly syntax highlighting ([X]HTML, C, C++, Pascal, PHP, Python, BASH Script, Gettext PO)
- Dragndrop support (with text files and pictures)
- Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP)
- UI localizations: English, Japanese, Serbian, Russian, Ukrainian
- Automatic text encoding detection for Russian, Ukrainian, Finnish, German, Serbian, Polish, Portuguese, Spanish, Turkish, Slovak, Slovenian, Latvian.
Enhancements:
- This release features the GtkSourceView2 optional support.
<<lessMain features:
- Extremely small size
- Built-in file manager Kwas
- Spellchecker (using the aspell)
- Tabbed layout engine
- Multiply encodings support
- Code snippets, sessions and templates support
- RTF-reader
- SRT-subtitles preview with Mplayer in a current subtitles position
- Text analyzer called UNITAZ
- Hotkeys customizations
- "Open at cursor"-function for HTML-files and images
- Misc HTML tools
- Bracket matching
- Preview in external browsers
- String-handling functions such as sorting, reverse, format killing, trimming, filtering, conversions etc.
- Bookmarks
- Morse code translator
- Ugly syntax highlighting ([X]HTML, C, C++, Pascal, PHP, Python, BASH Script, Gettext PO)
- Dragndrop support (with text files and pictures)
- Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP)
- UI localizations: English, Japanese, Serbian, Russian, Ukrainian
- Automatic text encoding detection for Russian, Ukrainian, Finnish, German, Serbian, Polish, Portuguese, Spanish, Turkish, Slovak, Slovenian, Latvian.
Enhancements:
- This release features the GtkSourceView2 optional support.
Download (0.40MB)
Added: 2007-08-10 License: GPL (GNU General Public License) Price:
806 downloads
YAPE::HTML 1.11
YAPE::HTML is Yet Another Parser/Extractor for HTML. more>>
YAPE::HTML is Yet Another Parser/Extractor for HTML.
SYNOPSIS
use YAPE::HTML;
use strict;
my $content = "< html>...< /html>";
my $parser = YAPE::HTML->new($content);
my ($extor,@fonts,@urls,@headings,@comments);
# here is the tokenizing part
while (my $chunk = $parser->next) {
if ($chunk->type eq tag and $chunk->tag eq font) {
if (my $face = $chunk->get_attr(face)) {
push @fonts, $face;
}
}
}
# here we catch any errors
unless ($parser->done) {
die sprintf "bad HTML: %s (%s)",
$parser->error, $parser->chunk;
}
# here is the extracting part
# < A> tags with HREF attributes
# < IMG> tags with SRC attributes
$extor = $parser->extract(a => [href], img => [src]);
while (my $chunk = $extor->()) {
push @urls, $chunk->get_attr(
$chunk->tag eq a ? href : src
);
}
# < H1>, < H2>, ..., < H6> tags
$extor = $parser->extract(qr/^h[1-6]$/ => []);
while (my $chunk = $extor->()) {
push @headings, $chunk;
}
# all comments
$extor = $parser->extract(-COMMENT => []);
while (my $chunk = $extor->()) {
push @comments, $chunk;
}
YAPE MODULES
The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable.
This module is yet another parser and tree-builder for HTML documents. It is designed to make extraction and modification of HTML documents simplistic. The API allows for easy custom additions to the document being parsed, and allows very specific tag, text, and comment extraction.
<<lessSYNOPSIS
use YAPE::HTML;
use strict;
my $content = "< html>...< /html>";
my $parser = YAPE::HTML->new($content);
my ($extor,@fonts,@urls,@headings,@comments);
# here is the tokenizing part
while (my $chunk = $parser->next) {
if ($chunk->type eq tag and $chunk->tag eq font) {
if (my $face = $chunk->get_attr(face)) {
push @fonts, $face;
}
}
}
# here we catch any errors
unless ($parser->done) {
die sprintf "bad HTML: %s (%s)",
$parser->error, $parser->chunk;
}
# here is the extracting part
# < A> tags with HREF attributes
# < IMG> tags with SRC attributes
$extor = $parser->extract(a => [href], img => [src]);
while (my $chunk = $extor->()) {
push @urls, $chunk->get_attr(
$chunk->tag eq a ? href : src
);
}
# < H1>, < H2>, ..., < H6> tags
$extor = $parser->extract(qr/^h[1-6]$/ => []);
while (my $chunk = $extor->()) {
push @headings, $chunk;
}
# all comments
$extor = $parser->extract(-COMMENT => []);
while (my $chunk = $extor->()) {
push @comments, $chunk;
}
YAPE MODULES
The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable.
This module is yet another parser and tree-builder for HTML documents. It is designed to make extraction and modification of HTML documents simplistic. The API allows for easy custom additions to the document being parsed, and allows very specific tag, text, and comment extraction.
Download (0.019MB)
Added: 2007-07-11 License: Perl Artistic License Price:
842 downloads
HTML::Lint 2.02
HTML::Lint can check for HTML errors in a string or file. more>>
HTML::Lint can check for HTML errors in a string or file.
SYNOPSIS
my $lint = HTML::Lint->new;
$lint->only_types( HTML::Lint::STRUCTURE );
$lint->parse( $data );
$lint->parse_file( $filename );
my $error_count = $lint->errors;
foreach my $error ( $lint->errors ) {
print $error->as_string, "n";
}
HTML::Lint also comes with a wrapper program called weblint that handles linting from the command line:
$ weblint http://www.cnn.com/
http://www.cnn.com/ (395:83) < IMG SRC="spacer.gif" > tag has no HEIGHT and WIDTH attributes.
http://www.cnn.com/ (395:83) < IMG SRC="goofus.gif" > does not have ALT text defined
http://www.cnn.com/ (396:217) Unknown element < nobr >
http://www.cnn.com/ (396:241) < /nobr > with no opening < nobr >
http://www.cnn.com/ (842:7) target attribute in < a > is repeated
And finally, you can also get Apache::HTML::Lint that passes any mod_perl-generated code through HTML::Lint and get it dumped into your Apache error_log.
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:45) < /p > with no opening < p >
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:49) Unknown element < gronk >
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:56) Unknown attribute "x" for tag < table >
<<lessSYNOPSIS
my $lint = HTML::Lint->new;
$lint->only_types( HTML::Lint::STRUCTURE );
$lint->parse( $data );
$lint->parse_file( $filename );
my $error_count = $lint->errors;
foreach my $error ( $lint->errors ) {
print $error->as_string, "n";
}
HTML::Lint also comes with a wrapper program called weblint that handles linting from the command line:
$ weblint http://www.cnn.com/
http://www.cnn.com/ (395:83) < IMG SRC="spacer.gif" > tag has no HEIGHT and WIDTH attributes.
http://www.cnn.com/ (395:83) < IMG SRC="goofus.gif" > does not have ALT text defined
http://www.cnn.com/ (396:217) Unknown element < nobr >
http://www.cnn.com/ (396:241) < /nobr > with no opening < nobr >
http://www.cnn.com/ (842:7) target attribute in < a > is repeated
And finally, you can also get Apache::HTML::Lint that passes any mod_perl-generated code through HTML::Lint and get it dumped into your Apache error_log.
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:45) < /p > with no opening < p >
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:49) Unknown element < gronk >
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:56) Unknown attribute "x" for tag < table >
Download (0.022MB)
Added: 2007-08-06 License: Perl Artistic License Price:
813 downloads
Learn HTML By Example 1.03
Learn HTML By Example is a sweet little JavaScript / HTML program. more>>
Learn HTML By Example is a sweet little JavaScript / HTML program that allows you to see the HTML you input into on side displayed as a web page on the other.
To install the program, just download it from Web Design Factory, and upload it to your web site.
Main features:
- Easy installation. Just upload to your web site and youre done!
- Immediate feedback on testing HTML and CSS code
- Several examples of commonly used HTML and CSS elements
- No page refreshing required
- Easy to expand by adding new examples
<<lessTo install the program, just download it from Web Design Factory, and upload it to your web site.
Main features:
- Easy installation. Just upload to your web site and youre done!
- Immediate feedback on testing HTML and CSS code
- Several examples of commonly used HTML and CSS elements
- No page refreshing required
- Easy to expand by adding new examples
Download (0.008MB)
Added: 2005-12-19 License: Freeware Price:
1406 downloads
HTML::Clean 0.8
HTML::Clean module cleans up HTML code for web browsers, not humans. more>>
HTML::Clean module cleans up HTML code for web browsers, not humans.
SYNOPSIS
use HTML::Clean;
$h = new HTML::Clean($filename); # or..
$h = new HTML::Clean($htmlcode);
$h->compat();
$h->strip();
$data = $h->data();
print $$data;
The HTML::Clean module encapsulates a number of common techniques for minimizing the size of HTML files. You can typically save between 10% and 50% of the size of a HTML file using these methods. It provides the following features:
Remove unneeded whitespace (begining of line, etc)
Remove unneeded META elements.
Remove HTML comments (except for styles, javascript and SSI)
Replace tags with equivilant shorter tags (< strong > --> < b >)
etc.
The entire proces is configurable, so you can pick and choose what you want to clean.
<<lessSYNOPSIS
use HTML::Clean;
$h = new HTML::Clean($filename); # or..
$h = new HTML::Clean($htmlcode);
$h->compat();
$h->strip();
$data = $h->data();
print $$data;
The HTML::Clean module encapsulates a number of common techniques for minimizing the size of HTML files. You can typically save between 10% and 50% of the size of a HTML file using these methods. It provides the following features:
Remove unneeded whitespace (begining of line, etc)
Remove unneeded META elements.
Remove HTML comments (except for styles, javascript and SSI)
Replace tags with equivilant shorter tags (< strong > --> < b >)
etc.
The entire proces is configurable, so you can pick and choose what you want to clean.
Download (0.047MB)
Added: 2007-08-07 License: Perl Artistic License Price:
808 downloads
Oak::Web::HTML::B 1.8
Oak::Web::HTML::B is B HTML Tag. more>>
Oak::Web::HTML::B is B HTML Tag.
HIERARCHY
Oak::Object
Oak::Persistent
Oak::Component
Oak::Web::Visual
Oak::Web::HTML::PhraseElement
Oak::Web::HTML::B
PROPERTIES
The Oak::Web::HTML::B object has the following properties:
caption
The text inside the tag
All other defined by W3C.
This component will use all the available properties following the rules of HTML4.01
<<lessHIERARCHY
Oak::Object
Oak::Persistent
Oak::Component
Oak::Web::Visual
Oak::Web::HTML::PhraseElement
Oak::Web::HTML::B
PROPERTIES
The Oak::Web::HTML::B object has the following properties:
caption
The text inside the tag
All other defined by W3C.
This component will use all the available properties following the rules of HTML4.01
Download (0.021MB)
Added: 2006-07-04 License: Perl Artistic License Price:
1207 downloads
HTML::Latex 1.1
HTML::Latex is a Perl module that creates a Latex file from an HTML file. more>>
HTML::Latex is a Perl module that creates a Latex file from an HTML file.
SYNOPSIS
use HTML::Latex
my $parser = new HTML::Latex($conffile);
$parser->set_option(%options);
$parser->add_package(@packages);
$parser->ban_tag(@banned);
$parser->set_log($logfile);
# Option 1:
foreach my $uri (@ARGV) {
my ($htmlfile,$latexfile) = $parser->html2latex($uri);
}
# Option 2:
foreach my $uri (@ARGV) {
my $in = IO::File->new("< $uri");
my $out = IO::File->new("> $uri.tex");
$parser->html2latex($in,$out);
}
# Option 3:
my $html_string = join("n",);
my $tex_string = $parser->parse_string($html_string,1);
# Option 4:
my $html_string = join("",@ARGV);
my $tex_string = $parser->parse_string($html_string);
print $tex_string;
This class is used to create a text file in Latex format from a file in HTML format. Use the class as follows:
1. Create a new HTML::Latex object.
2. Override any options using set_option(), add_package(), ban_tag(), or set_log().
3. Run html2latex() on a file or URL.
4. Do whatever you want with the filename that was returned.
<<lessSYNOPSIS
use HTML::Latex
my $parser = new HTML::Latex($conffile);
$parser->set_option(%options);
$parser->add_package(@packages);
$parser->ban_tag(@banned);
$parser->set_log($logfile);
# Option 1:
foreach my $uri (@ARGV) {
my ($htmlfile,$latexfile) = $parser->html2latex($uri);
}
# Option 2:
foreach my $uri (@ARGV) {
my $in = IO::File->new("< $uri");
my $out = IO::File->new("> $uri.tex");
$parser->html2latex($in,$out);
}
# Option 3:
my $html_string = join("n",);
my $tex_string = $parser->parse_string($html_string,1);
# Option 4:
my $html_string = join("",@ARGV);
my $tex_string = $parser->parse_string($html_string);
print $tex_string;
This class is used to create a text file in Latex format from a file in HTML format. Use the class as follows:
1. Create a new HTML::Latex object.
2. Override any options using set_option(), add_package(), ban_tag(), or set_log().
3. Run html2latex() on a file or URL.
4. Do whatever you want with the filename that was returned.
Download (0.047MB)
Added: 2006-09-21 License: Perl Artistic License Price:
1133 downloads
Blatte::HTML 0.9
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. more>>
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte.
SYNOPSIS
use Blatte;
use Blatte::Builtins;
use Blatte::HTML;
$perl = &Blatte::Parse(...string of Blatte code...);
$val = eval $perl;
&Blatte::HTML::render($val, &emit);
sub emit {
print shift;
}
<<lessSYNOPSIS
use Blatte;
use Blatte::Builtins;
use Blatte::HTML;
$perl = &Blatte::Parse(...string of Blatte code...);
$val = eval $perl;
&Blatte::HTML::render($val, &emit);
sub emit {
print shift;
}
Download (0.014MB)
Added: 2007-04-20 License: Perl Artistic License Price:
917 downloads
PDL::Pod::Html 1.99989
PDL::Pod::Html is Perl module to convert pod files to HTML. more>>
PDL::Pod::Html is Perl module to convert pod files to HTML.
SYNOPSIS
use PDL::Pod::Html;
pod2html([options]);
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.
<<lessSYNOPSIS
use PDL::Pod::Html;
pod2html([options]);
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.
Download (0.64MB)
Added: 2006-08-24 License: Perl Artistic License Price:
1159 downloads
HTML::Simple 0.4
HTML::Simple is a simple, dependency free module for generating HTML (and XML). more>>
HTML::Simple is a simple, dependency free module for generating HTML (and XML).
SYNOPSIS
Note: It turns out that TOMC owns the HTML::Simple namespace so Ive moved development of this module to HTML::Tiny. Please use HTML::Tiny in preference to this module.
use HTML::Simple;
my $h = HTML::Simple->new;
# Generate a simple page
print $h->html(
[
$h->head( $h->title( Sample page ) ),
$h->body(
[
$h->h1( { class => main }, Sample page ),
$h->p( Hello, World, { class => detail }, Second para )
]
)
]
);
# Outputs
< html>
< head>
< title>Sample page< /title>
< /head>
< body>
< h1 class="main">Sample page< /h1>
< p>Hello, World< /p>
< p class="detail">Second para< /p>
< /body>
< /html>
<<lessSYNOPSIS
Note: It turns out that TOMC owns the HTML::Simple namespace so Ive moved development of this module to HTML::Tiny. Please use HTML::Tiny in preference to this module.
use HTML::Simple;
my $h = HTML::Simple->new;
# Generate a simple page
print $h->html(
[
$h->head( $h->title( Sample page ) ),
$h->body(
[
$h->h1( { class => main }, Sample page ),
$h->p( Hello, World, { class => detail }, Second para )
]
)
]
);
# Outputs
< html>
< head>
< title>Sample page< /title>
< /head>
< body>
< h1 class="main">Sample page< /h1>
< p>Hello, World< /p>
< p class="detail">Second para< /p>
< /body>
< /html>
Download (0.010MB)
Added: 2007-07-04 License: Perl Artistic License Price:
843 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above for html search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed