[Catalyst] missing 'use base' for ::Store?

phaylon phaylon at dunkelheit.at
Thu Dec 8 16:01:54 CET 2005


Am Donnerstag, den 08.12.2005, 14:51 +0000 schrieb Chisel Wright:

> Doesn't work for me (and at least one other person) without it.
> 
> Where does the sessionid() method appear from if you don't:
> 
>  use base qw/Catalyst::Plugin::Session/;
> 
> ?

What do you load in your application class? There should be

use Catalyst qw/
    Session
    Session::Store::WhateverYouWant
    Session::State::WhateverYouWant
/;

See also http://search.cpan.org/dist/Catalyst-Plugin-
Session/lib/Catalyst/Plugin/Session.pm#SYNOPSIS

hth, p

-- 
http://www.dunkelheit.at/
bellum omnium pater.





More information about the Catalyst mailing list