
alexander.hartmaier at t-systems
May 23, 2012, 7:42 AM
Post #6 of 9
(283 views)
Permalink
|
Because I've just read perlvar: $REAL_USER_ID or $UID instead of $<. - Alex Am 2012-05-23 15:54, schrieb Ashley Pond V: > On Wed, May 23, 2012 at 1:58 AM, Dag-Erling Smørgrav <des [at] des> 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: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* _______________________________________________ List: Catalyst [at] lists Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ Dev site: http://dev.catalyst.perl.org/
|