Re: [Maypole] using the Authentication::Abstract plugin

From: Seth Gordon (sethg at ropine.com)
Date: Thu Dec 09 2004 - 18:46:58 GMT


For the benefit of posterity, here are the answers to my own questions
that I discovered, a few score 'print STDERR' statements later:

> (1) What's wrong with my use of Class::Accessor?

Class::Accessor::new takes a hashref:
__PACKAGE__->new({id => $user});
Mind those braces.

> (2) What's the simplest way to convert my JeevesLibrary::User class into
> something that persists appropriately?

Create /tmp/sessions and /tmp/sessionlock directories, so
Apache::Session::File can do its job.

-- 
"If John Kerry was the last best hope for the Republic ... then maybe
  it wasn't worth saving in the first place.  I don't believe that,
  though. And neither do you." --Dan Layman-Kennedy
// seth gordon // sethg at ropine.com // http://dynamic.ropine.com/yo/ //

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT