Skip Menu |
 

This queue is for tickets about the CGI-Application-Plugin-AutoRunmode CPAN distribution.

Report information
The Basics
Id: 23966
Status: open
Priority: 0/
Queue: CGI-Application-Plugin-AutoRunmode

People
Owner: Nobody in particular
Requestors: thilo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.14
Fixed in: (no value)



Subject: cannot override :StartRunmode on the instance level
Download (untitled) / with headers
text/plain 311b
Code like this does not work: { package MyTestApp; use base 'CGI::Application'; use CGI::Application::Plugin::AutoRunmode; sub mode1 : StartRunmode { 'called mode1'; } sub mode2 { 'called mode2 in the super class' } my $app = new MyTestApp(); $app->start_mode('mode2'); }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.