Update Tie::RefHash and see what happens.

On 10/22/06, Evan Carroll <[EMAIL PROTECTED]> wrote:
The error I'm getting is:
Caught exception in engine "Can't store CODE items at
blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al)
line 290, at /usr/local/share/perl/5.8.8/Object/Signature.pm line 19"

induced by this:
sub authen :Private {
  my ( $self, $c, ($un, $pw) ) = @_;
  if( $c->login($un, $pw) ) { return 1; }
  else { return 0; }
}

If I replace that with this:
sub authen :Private {
        return 1;
}

The error goes away..

I'm using:
  -Debug
  ConfigLoader
  Redirect
  StackTrace
  Authentication
  Authentication::Store::DBIC
  Authentication::Credential::Password
  Session
  Session::Store::File
  Session::State::Cookie

Everything is up to date.

The file /usr/local/share/perl/5.8.8/Object/Signature.pm has this:
15 sub signature {
16         require Storable;
17         require Digest::MD5;
18         local $Storable::canonical = 1;
19         Digest::MD5::md5_hex(
20                 Storable::nfreeze(shift)
21                 );
22 }

[EMAIL PROTECTED]:/usr/local/share/perl/5.8.7/Catalyst/Plugin# rgrep -i signature
*
Session.pm:use Object::Signature   ();

If I remove all of the contents of Session.pm and restart apache, I get
the same error. I'm out of ideas, anyone have advice?

Evan Carroll
[EMAIL PROTECTED]



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/



--
[EMAIL PROTECTED]
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to