1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Template::Plugin::Calendar::Simple
==================================
Just another HTML calendar generator. [](https://metacpan.org/pod/Template::Plugin::Calendar::Simple)
Description
-----------
Provides calendar delimiters for a Template Toolkit template. You supply the HTML.
Synopsis
--------
```html
[% USE cal = Calendar.Simple %]
<table border="1">
<tr>
[% FOREACH day = cal.days %]
<th>[% day %]</th>
[% END %]
</tr>
[% FOREACH row = cal.rows %]
<tr>
[% FOREACH col = row %]
<td>[% col || ' ' %]</td>
[% END %]
</tr>
[% END %]
</table>
```
Installation
------------
To install this module, you should use CPAN. A good starting
place is [How to install CPAN modules](http://www.cpan.org/modules/INSTALL.html).
If you truly want to install from this github repo, then
be sure and create the manifest before you test and install:
```
perl Makefile.PL
make
make manifest
make test
make install
```
Support and Documentation
-------------------------
After installing, you can find documentation for this module with the
perldoc command.
```
perldoc Template::Plugin::Calendar::Simple
```
You can also find documentation at [metaCPAN](https://metacpan.org/pod/Template::Plugin::Calendar::Simple).
License and Copyright
---------------------
See [source POD](/lib/Template/Plugin/Calendar/Simple.pm).
|