| 1 |
HTML-TagTree version 0.02 |
| 2 |
========================= |
| 3 |
|
| 4 |
The philosophy of HTML::TagTree is to let you create |
| 5 |
one region of code with lots of business logic |
| 6 |
for rendering many possible resulting HTML files/output. |
| 7 |
This differs from the approach of using business logic code |
| 8 |
to decide which HTML template (of many) to render. |
| 9 |
So rather than maintaining many HTML templates, you |
| 10 |
maintain a Perl file that does all possible customizations |
| 11 |
of HTML generation. |
| 12 |
|
| 13 |
This module strives to minimize typing. Object treeing is |
| 14 |
just a simple method call, eg: |
| 15 |
$body->h1->b->i('This is a bold, italic heading'); |
| 16 |
|
| 17 |
HTML::TagTree removes the worries of making simple HTML syntax |
| 18 |
errors such as no matching closing tag for an open tag. |
| 19 |
|
| 20 |
INSTALLATION |
| 21 |
|
| 22 |
To install this module type the following: |
| 23 |
|
| 24 |
perl Makefile.PL |
| 25 |
make |
| 26 |
make test |
| 27 |
make install |
| 28 |
|
| 29 |
DEPENDENCIES |
| 30 |
|
| 31 |
This module requires these other modules and libraries: |
| 32 |
|
| 33 |
blah blah blah |
| 34 |
|
| 35 |
COPYRIGHT AND LICENCE |
| 36 |
|
| 37 |
Put the correct copyright and licence information here. |
| 38 |
|
| 39 |
Copyright (C) 2011 by daniel debrito |
| 40 |
|
| 41 |
This library is free software; you can redistribute it and/or modify |
| 42 |
it under the same terms as Perl itself, either Perl version 5.10.0 or, |
| 43 |
at your option, any later version of Perl 5 you may have available. |
| 44 |
|
| 45 |
|