Catalyst-Controller-BindLex

 view release on metacpan or  search on metacpan

lib/Catalyst/Controller/BindLex.pm  view on Meta::CPAN

        my ( $self, $c ) = @_;
        my $count : Session;
        $c->res->body( "request number " . ++$count );
    }

=head1 WARNING

Catalyst::Controller::BindLex does some fairly nasty magic - the attribute
wrapping tricks are complex and will break if you declare the same lexical
name twice in the same method, and the approach to get $c out of the call
stack is hacky and fragile.

It was designed as a PROOF OF CONCEPT ONLY and should not be considered for
use in production. The authors no longer consider it a viable implementation
plan and THIS MODULE IS NOT SUPPORTED AND WILL NOT BE MAINTAINED.

If you really want to use it, please read the source code and be sure you
understand it well enough to fix anything that goes wrong, then set

    __PACKAGE__->config->{unsafe_bindlex_ok} = 1;



( run in 1.806 second using v1.01-cache-2.11-cpan-364913b4093 )