X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalystX%2FGlobalContext.pm;h=a5dbfd0b21e20d5289e0b6bd64f2bf3e5f60600f;hb=bef5bffc1e2bbd5e907e3e8010aed6de0c3054be;hp=d3f13b53ea97f7f2d4f44bbc082255e9af3ee4ff;hpb=21a20b7e40ead509ca832db9099a4b76d3d61cd4;p=catagits%2FCatalyst-Controller-WrapCGI.git diff --git a/lib/CatalystX/GlobalContext.pm b/lib/CatalystX/GlobalContext.pm index d3f13b5..a5dbfd0 100644 --- a/lib/CatalystX/GlobalContext.pm +++ b/lib/CatalystX/GlobalContext.pm @@ -13,13 +13,9 @@ our @EXPORT_OK = '$c'; CatalystX::GlobalContext - Export Catalyst Context -=head1 VERSION - -Version 0.01 - =cut -our $VERSION = '0.01'; +our $VERSION = '0.030'; =head1 SYNOPSIS @@ -27,12 +23,12 @@ our $VERSION = '0.01'; use CatalystX::GlobalContext (); - sub auto { + sub auto : Private { my ($self, $c) = @_; - CatalystX::GlobalContext->set_context($c); + CatalystX::GlobalContext->set_context($c); 1; } - + package Some::Other::Module; use CatalystX::GlobalContext '$c'; @@ -77,10 +73,6 @@ sub set_context { L, L, L -=head1 AUTHOR - -Rafael Kitover, C<< >> - =head1 BUGS Please report any bugs or feature requests to C =back +=head1 AUTHOR + +See L and +L. + =head1 COPYRIGHT & LICENSE -Copyright (c) 2008 Rafael Kitover +Copyright (c) 2008-2009 L and +L. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.