Help for this page

Select Code to Download


  1. or download this
    use lib qw(/var/www/blogapp);
    use Config ();
    
    1;
    
  2. or download this
    my $database = 'data/site.db';
    my $tmplfile = 'templates/index.html';
    my $blog_title = 'example.com';
    
    1;
    
  3. or download this
    [Sat Sep  5 19:42:30 2009] [error] PerlRun: `HTML::Template->new() cal
    +led with odd number of option parameters - should be of the form opti
    +on => value at /blogapp/index.cgi line 13\n'
    
  4. or download this
    my $template = HTML::Template->new(filename => $tmplfile, die_on_bad_p
    +arams => 0);