Skip Menu |

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

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

People
Owner: thilo [...] cpan.org
Requestors: JIRA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.18



For the wishlist: to have a way to organize run mode files into multiple directories. Either by passing list of directories to the constructor or to automatically scan a specified directory for sub directories.
Here is the patch that does the following: https://bitbucket.org/thiloplanz/cgi-application-plugin-autorunmode/changeset/c04a4769f39b You can now specify a list of directories that would be searched in order (first one with a file for the run mode wins). my $delegate = new CGI::Application::Plugin::AutoRunmode::FileDelegate ('/path/to/runmodes', '/path/to/fallback_runmodes', '/path/to/even_more') Error semantics: If a file exists in a directory, but it is invalid, do not fall back to the next directory, but abort with an error.