CatalystX::GlobalContext - Export Catalyst Context
-=head1 VERSION
-
-Version 0.025
-
=cut
-our $VERSION = '0.025';
+our $VERSION = '0.031';
=head1 SYNOPSIS
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';