OurCal::Handler::CGI - the default, cgi based handler for OurCal
my $config = OurCal::Config->new( file => 'ourcal.conf' ); my $handler = OurCal::Handler::CGI->new( config => $config );
Requires a OurCal::Config object passed in as the config param.
OurCal::Config
Get the name of the view we should be using
Returns the date
Returns the user as defined by HTTP Basic Auth, cookie or user CGI param.
Get what mode we should be using
Return what header we need to print out.
Make a link out a OurCal::Span object
OurCal::Span
Get a CGI parma with the given name
Whether a link need to include a user param or not
To install OurCal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OurCal
CPAN shell
perl -MCPAN -e shell install OurCal
For more information on module installation, please visit the detailed CPAN module installation guide.