From 547754066179eb37eb418277d2b9a5d016613a2f Mon Sep 17 00:00:00 2001 From: Aaron Trevena Date: Tue, 12 Jul 2005 20:20:52 +0000 Subject: [PATCH] possible 2.10 release git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@355 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 2 +- lib/Maypole/Constants.pm | 2 +- lib/Maypole/Session.pm | 48 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 44d5339..3c7156a 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,7 @@ This file documents the revision history for Perl extension Maypole. For information about current developments and future releases, see: http://maypole.perl.org/?TheRoadmap -2.10 Tues 5 Jul 2005 +2.10 Tues 12 Jul 2005 Multiple Template Paths added ( http://rt.cpan.org/NoAuth/Bug.html?id=13447 ) Small fix to templates/factory/frontpage ( http://rt.cpan.org/NoAuth/Bug.html?id=11236 ) MasonX support in Maypole::Application ( https://rt.cpan.org/NoAuth/Bug.html?id=12383 ) diff --git a/lib/Maypole/Constants.pm b/lib/Maypole/Constants.pm index 4078b83..09e7d4b 100644 --- a/lib/Maypole/Constants.pm +++ b/lib/Maypole/Constants.pm @@ -43,7 +43,7 @@ L =head1 MAINTAINER -Sebastian Riedel, c +Aaron Trevena, c =head1 AUTHOR diff --git a/lib/Maypole/Session.pm b/lib/Maypole/Session.pm index 47f6879..b8b03dc 100644 --- a/lib/Maypole/Session.pm +++ b/lib/Maypole/Session.pm @@ -1,5 +1,29 @@ package Maypole::Session; +=head1 NAME + +Maypole::Constants - Maypole predefined constants + +=head1 SYNOPSIS + +use Maypole::Session; + +my $uid = Maypole::Session::generate_unique_id() + +=head1 DESCRIPTION + +This class provides session related methods for Maypole such as unique id's for requests. + +=head1 METHODS + +=head2 generate_unique_id() + +my $uid = Maypole::Session::generate_unique_id() + +generates a unique id and returns it, requires no arguments but accepts size, default is 32. + +=cut + use strict; use Digest::MD5; @@ -9,4 +33,28 @@ sub generate_unique_id { return; } + +################################################################################################### +################################################################################################### + + +=head1 SEE ALSO + +L + +=head1 MAINTAINER + +Aaron Trevena, c + +=head1 AUTHOR + +Simon Cozens, C + +=head1 LICENSE + +You may distribute this code under the same terms as Perl itself. + +=cut + + 1; -- 2.39.2