in reply to Re: CGI::Application::Plugin::Session (Why does CPAN hate me?)
in thread CGI::Application::Plugin::Session (Why does CPAN hate me?)

Tried it; but alas I then get the same error when I try to use it in a program.
  • Comment on Re^2: CGI::Application::Plugin::Session (Why does CPAN hate me?)

Replies are listed 'Best First'.
Re^3: CGI::Application::Plugin::Session (Why does CPAN hate me?)
by Arunbear (Prior) on Mar 29, 2006 at 19:48 UTC
    can you post the code you are using which produces the error?
      #! /usr/bin/perl use warnings; use strict; package huh; use CGI::Session; use CGI::Application::Plugin::Session; use base 'CGI::Application'; sub setup { my $self = shift; $self->start_mode('mode1'); $self->run_modes( 'mode1' => 'do_stuff', ); } sub do_stuff { my $self = shift; my $session = $self->session; print "doing it\n"; } 1;