[Catalyst] auth::DBIC & session problems

Wade.Stuart at fallon.com Wade.Stuart at fallon.com
Tue Aug 15 18:42:53 CEST 2006








catalyst-bounces at lists.rawmode.org wrote on 08/15/2006 11:12:57 AM:

> On Tue, Aug 15, 2006 at 12:01:34PM -0400, leonard.a.jaffe at jpmchase.com
wrote:
> >    Am I the only person with this problem? Is anybody else using
> DBIC for the
> >    Authentication Store?
>
> This rings a vague bell - I think I jsut moved some of my things out of
> ->session and did an auto() lookup, storing things in ->stash instead.
>
> Not ideal, but I can't remember what the advice/solution was when I hit
> this myself some time ago.


Seems messy and like you have to repopulate the stash every call.   I would
think that storable should handle coderefs pretty well now. It's still
experimental but it has been available for a while.

http://search.cpan.org/~ams/Storable-2.15/Storable.pm#CODE_REFERENCES

the only (major) drawback seems to be it relies on B::Deparse and eval...







More information about the Catalyst mailing list