On Wed, May 23, 2012 at 1:58 AM, Dag-Erling Smørgrav <[email protected]> wrote:
> As an alternate solution, is there a way to have it use a different file
> name every time it starts?
Here's a snippet to do that:
conf.yml
--
Plugin::Session:
storage: /tmp/some-prefix-__UID__.session
MyApp.pm
--
"Plugin::ConfigLoader" => {
substitutions => {
UID => sub { $< },
},
},
https://metacpan.org/module/Catalyst::Plugin::ConfigLoader
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/