Catalyst::Plugin::Singleton - DEPRECATED - Singleton to context
use Catalyst qw[Singleton]; # Retrieve a instance of context my $c = MyApp->instance; my $c = MyApp->context;
DEPRECATED - Singleton accessors to context.
DO NOT USE IN NEW CODE!
alias for instance
Returns the current instance of the context object.
Catalyst.
Christian Hansen, ch@ngmedia.com
ch@ngmedia.com
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
To install Catalyst::Plugin::Singleton, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Singleton
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Singleton
For more information on module installation, please visit the detailed CPAN module installation guide.