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

can you post the code you are using which produces the error?
  • Comment on Re^3: CGI::Application::Plugin::Session (Why does CPAN hate me?)

Replies are listed 'Best First'.
Re^4: CGI::Application::Plugin::Session (Why does CPAN hate me?)
by Anonymous Monk on Mar 29, 2006 at 21:18 UTC
    #! /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;