The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catalyst::Plugin::Singleton - DEPRECATED - Singleton to context

SYNOPSIS

    use Catalyst qw[Singleton];

    # Retrieve a instance of context
    my $c = MyApp->instance;
    my $c = MyApp->context;

DESCRIPTION

DEPRECATED - Singleton accessors to context.

DO NOT USE IN NEW CODE!

METHODS

context

alias for instance

instance

Returns the current instance of the context object.

OVERRIDES

prepare

SEE ALSO

Catalyst.

AUTHOR

Christian Hansen, ch@ngmedia.com

LICENSE

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