X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FConstants.pm;h=4078b83bccb01ba6038baa8ca80e7f50ae274239;hb=8336096f38373cb23f3481ceafa9a4edab1b049e;hp=7e0b8ea3fad6789717b21cc7da77394c09d6c3b4;hpb=b6e2413ee413ce21b28429c05bbcc3f516a0754a;p=maypole.git diff --git a/lib/Maypole/Constants.pm b/lib/Maypole/Constants.pm index 7e0b8ea..4078b83 100644 --- a/lib/Maypole/Constants.pm +++ b/lib/Maypole/Constants.pm @@ -1,4 +1,5 @@ package Maypole::Constants; +use strict; use base 'Exporter'; use constant OK => 0; use constant DECLINED => -1; @@ -6,6 +7,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 +29,7 @@ Maypole::Constants - Maypole predefined constants This class defines constants for use with Maypole -=head1 CONSTANTS +=head2 CONSTANTS =head3 OK @@ -51,4 +54,3 @@ Simon Cozens, C You may distribute this code under the same terms as Perl itself. =cut -1;