]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Constants.pm
POD updates: fleshed out some weak areas, reorganised a little and fixed some typogra...
[maypole.git] / lib / Maypole / Constants.pm
index 69178502bbdccf7a824d103805a2cb3c0aee7275..7e0b8ea3fad6789717b21cc7da77394c09d6c3b4 100644 (file)
@@ -10,10 +10,30 @@ our $VERSION = "1." . sprintf "%04d", q$Rev$ =~ /: (\d+)/;
 
 Maypole::Constants - Maypole predefined constants
 
+=head1 SYNOPSIS
+
+    use Maypole::Constants;
+
+    sub authenticate {
+        if (valid_user()) {
+            return OK;
+        } else {
+            return DECLINED
+        }
+    }
+
 =head1 DESCRIPTION
 
 This class defines constants for use with Maypole
 
+=head1 CONSTANTS
+
+=head3 OK
+
+=head3 DECLINED
+
+=head3 ERROR
+
 =head1 SEE ALSO
 
 L<Maypole>