1package Blog; 2 3use strict; 4 5our $VERSION = '0.01'; 6 7use base 'Gantry'; 8 9use Blog::Post; 10 11 12 13#----------------------------------------------------------------- 14# $self->init( $r ) 15#----------------------------------------------------------------- 16# This method inherited from Gantry 17 181; 19 20=head1 NAME 21 22Blog - the base module of this web app 23 24=head1 SYNOPSIS 25 26This package is meant to be used in a stand alone server/CGI script or the 27Perl block of an httpd.conf file. 28 29Stand Alone Server or CGI script: 30 31 use Blog; 32 33 my $cgi = Gantry::Engine::CGI->new( { 34 config => { 35 #... 36 }, 37 locations => { 38 '/' => 'Blog', 39 #... 40 }, 41 } ); 42 43httpd.conf: 44 45 <Perl> 46 # ... 47 use Blog; 48 </Perl> 49 50If all went well, one of these was correctly written during app generation. 51 52=head1 DESCRIPTION 53 54This module was originally generated by Bigtop. But feel free to edit it. 55You might even want to describe the table this module controls here. 56 57=head1 METHODS 58 59=over 4 60 61 62=back 63 64 65=head1 METHODS INHERITED FROM GENBlog 66 67=over 4 68 69=item init 70 71 72=back 73 74 75=head1 SEE ALSO 76 77 Gantry 78 Blog::Post 79 80=head1 AUTHOR 81 82Phil Crow, E<lt>mail@example.comE<gt> 83 84=head1 COPYRIGHT AND LICENSE 85 86Copyright (C) 2007 Phil Crow 87 88All rights reserved. 89 90=cut 91