Skip to content

jeffa/Template-Plugin-Calendar-Simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template::Plugin::Calendar::Simple

Just another HTML calendar generator. CPAN Version

Description

Provides calendar delimiters for a Template Toolkit template. You supply the HTML.

Synopsis

  [% 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 || '&nbsp;' %]</td>
    [% END %]
    </tr>
  [% END %]
  </table>

Installation

To install this module, you should use CPAN. A good starting place is How to install CPAN modules.

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.

License and Copyright

See source POD.

About

Just another HTML calendar generator.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages