_ _ _____ __ __ _ __ __ _ | | | |_ _| \/ | | _ _ | \/ | __ _| | _____ | |_| | | | | |\/| | | (_|_) | |\/| |/ _` | |/ / _ \ | _ | | | | | | | |___ _ _ | | | | (_| | < __/ |_| |_| |_| |_| |_|_____| (_|_) |_| |_|\__,_|_|\_\___| This is the README for HTML::Make version 0.04. HTML::Make is a "module" for the Perl computer programming language, a library of computer code to install on a computer. This document contains four sections: 1. About - what the module does 2. Documentation - how to learn more about the module 3. Installation - how to install this module on a computer 4. Help - what to do if you get stuck ----------------------------------------------------------------------------- 1. ABOUT HTML::Make - make HTML HTML::Make is an HTML generator. Make a top node using "new" my $top_node = HTML::Make->new ('ul'); then add children to the top node using "push": my $element = $top_node->push ('li'); Add text to elements using "add_text": $element->add_text ('Ça plane pour moi'); Add attributes to elements using "add_attr": $element->add_attr (class => 'plastic bertrand'); Get the HTML as text with "text" on the top node: my $html = $top_node->text (); Add HTML to the element using "add_text": $element->add_text ("
This is a paragraph with italic text.
"); ----------------------------------------------------------------------------- 2. DOCUMENTATION You can read the documentation for the module online at the following websites: * http://search.cpan.org/perldoc?HTML::Make * http://metacpan.org/release/HTML-Make (These links go to the latest version of the module.) After installing the module, you can read the documentation on your computer using perldoc HTML::Make ----------------------------------------------------------------------------- 3. INSTALLATION This module requires Perl version 5.6.1 or later. To install the module from CPAN, use cpan HTML::Make If you have the App::cpanminus installer, you may prefer cpanm HTML::Make To install the module from the source file, HTML-Make-0.04.tar.gz, follow this sequence of commands: tar xfz HTML-Make-0.04.tar.gz cd HTML-Make-0.04 perl Makefile.PL make make install If you want to test the module before installing it, use "make test" after "make" and before "make install". ----------------------------------------------------------------------------- 4. HELP To get help with the module, you can email the author, Ben Bullock, at