Catalyst::Plugin::Singleton - Singleton to context


NAME

Catalyst::Plugin::Singleton - Singleton to context

Back to Top


SYNOPSIS

    use Catalyst qw[Singleton];
    # Retrieve a instance of context
    my $c = MyApp->instance;
    my $c = MyApp->context;

Back to Top


DESCRIPTION

Singleton accessors to context.

Back to Top


METHODS

context

alias for instance

instance

Returns the current instance of the context object.

Back to Top


OVERRIDES

prepare

Back to Top


SEE ALSO

Catalyst.

Back to Top


AUTHOR

Christian Hansen, ch@ngmedia.com

Back to Top


LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.

Back to Top

 Catalyst::Plugin::Singleton - Singleton to context