[Maypole] using the Authentication::Abstract plugin

Seth Gordon sethg@ropine.com
Thu, 09 Dec 2004 13:46:58 -0500


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@ropine.com // http://dynamic.ropine.com/yo/ //