I have an application that uses sessions with a FastMmap store. This
application also includes a custom script (using Catalyst::ScriptRole)
used to perform certain administrative tasks from the command line.
The problem is that Catalyst tries to unlink and recreate the session
cache every time
I think that there is a problem using the Makefile.PL with Test::Prereqs and
similar modules.
When I run prereqs_ok(), I get the following error:
_get_prereqs: Error loading Makefile.PL: Can't call method
load_all_extensions on an undefined value at
/usr/local/share/perl/5.10.1/Module/Install.pm
Will Crawford billcrawford1...@gmail.com writes:
Dag-Erling Smørgrav d...@des.no writes:
Is there a way to have C::Plugin::Session (or C::P::S::Store::FastMmap)
initialize the cache on first use instead of at startup?
{ ..., unlink_on_exit = 0 } in your config.
delete the cache when you're
Hello,
how can I sort hash reference by values, I found some solution:
http://mail.template-toolkit.org/pipermail/templates/2005-June/007501.html
But I don't know where can I add virtual method.
3) Similar to 2. Add a virtual method to your hashes. Just add this above your
process call. (Note:
On Wed, May 23, 2012 at 1:58 AM, Dag-Erling Smørgrav d...@des.no 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
--
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 d...@des.no wrote:
As an alternate solution, is there a way to have it use a different file
name every time it starts?
Dag-Erling Smørgrav d...@des.no writes:
Thanks, that's a neat workaround (combined with unlink_on_exit).
I was wrong about that last bit - unlink_on_exit automatically defaults
to a sane value (unlink the file if you created it, leave it alone if it
already existed). If anything, you'd want to
Alexander Hartmaier alexander.hartma...@t-systems.at writes:
Because I've just read perlvar: $REAL_USER_ID or $UID instead of $.
assuming use English
DES
--
Dag-Erling Smørgrav - d...@des.no
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
On Wed, May 23, 2012 at 7:42 AM, Alexander Hartmaier
alexander.hartma...@t-systems.at wrote:
Because I've just read perlvar: $REAL_USER_ID or $UID instead of $.
I think this is generally excellent advice but I want to argue against
it in this case.
UID = sub { $ } is sufficiently semantic *and*
I am having difficulty in getting my user to authenticate against the
second realm. After successfully authenticating against the ldap server, I
want to authenticate against the dbic realm as well as that is where the
roles are stored. It seems to ignore a second call to $c-.authenticate.
I
On 23 May 2012, at 16:37, Kenneth S Mclane wrote:
I am having difficulty in getting my user to authenticate against the second
realm. After successfully authenticating against the ldap server, I want to
authenticate against the dbic realm as well as that is where the roles are
stored. It
On 23 May 2012, at 11:26, Robert Rothenberg wrote:
I think that there is a problem using the Makefile.PL with Test::Prereqs and
similar modules.
When I run prereqs_ok(), I get the following error:
_get_prereqs: Error loading Makefile.PL: Can't call method
load_all_extensions on an
On 23/05/12 17:06 Tomas Doran wrote:
On 23 May 2012, at 11:26, Robert Rothenberg wrote:
I think that there is a problem using the Makefile.PL with Test::Prereqs and
similar modules.
When I run prereqs_ok(), I get the following error:
_get_prereqs: Error loading Makefile.PL: Can't call
On 23 May 2012, at 17:15, Robert Rothenberg wrote:
On 23/05/12 17:06 Tomas Doran wrote:
On 23 May 2012, at 11:26, Robert Rothenberg wrote:
I think that there is a problem using the Makefile.PL with Test::Prereqs and
similar modules.
When I run prereqs_ok(), I get the following error:
On 23/05/12 18:42 Tomas Doran wrote:
On 23 May 2012, at 17:15, Robert Rothenberg wrote:
On 23/05/12 17:06 Tomas Doran wrote:
On 23 May 2012, at 11:26, Robert Rothenberg wrote:
I think that there is a problem using the Makefile.PL with Test::Prereqs
and
similar modules.
When I run
Short version: How can we toggle field X from being a Select (popup) for
Admin users, to being a Hidden (nothing visible, but the value is
maintained) for Manager users?
Long version:
We have three levels of user-roles (*admins* can do everything,
*managers*can do a lot,
*readonly* can do very
16 matches
Mail list logo