From: Simon Cozens Date: Fri, 24 Dec 2004 03:43:51 +0000 (+0000) Subject: minor POD fixes X-Git-Tag: 2.10~38 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=889475be74f43b938d8dbcb549699c939dfe9d66;p=maypole.git minor POD fixes git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@326 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Maypole.pm b/lib/Maypole.pm index e71c31f..e89cef0 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -333,12 +333,15 @@ You should only need to define this method if you are writing a new Maypole backend. +=head3 param + +An accessor for request parameters. It behaves similarly to CGI::param() for +accessing CGI parameters. + =head3 params -Returns a hash of request parameters. The source of the parameters may -vary -depending on the Maypole backend, but they are usually populated from -request +Returns a hash of request parameters. The source of the parameters may vary +depending on the Maypole backend, but they are usually populated from request query string and POST data. B Where muliple values of a parameter were supplied, the diff --git a/lib/Maypole/Constants.pm b/lib/Maypole/Constants.pm index 7e0b8ea..dcf35e5 100644 --- a/lib/Maypole/Constants.pm +++ b/lib/Maypole/Constants.pm @@ -6,6 +6,8 @@ use constant ERROR => -1; our @EXPORT = qw(OK DECLINED ERROR); our $VERSION = "1." . sprintf "%04d", q$Rev$ =~ /: (\d+)/; +1; + =head1 NAME Maypole::Constants - Maypole predefined constants @@ -26,7 +28,7 @@ Maypole::Constants - Maypole predefined constants This class defines constants for use with Maypole -=head1 CONSTANTS +=head2 CONSTANTS =head3 OK @@ -51,4 +53,3 @@ Simon Cozens, C You may distribute this code under the same terms as Perl itself. =cut -1;