On Fri, Mar 11, 2005 at 09:24:27AM -0500, Michael Peters wrote:
It seems like Apache::Test is not working on your installation. Looking
at the output from the test and you error log, it does not appear that
it even reaches the C::A::Dispatch portions of the test.
FWIW, I've been using A::T
Geoffrey G. Hankerson wrote:
2. Micael Peters suggests:
my $runmode = $query-param('page');
my %rms = $self-run_modes();
return $self-$rms{$runmode};
This returns this error:
syntax error at Supersite.pm line 694, near $rms{
syntax error at Supersite.pm line 696, near }
Well, I guess I should have
Tony Fraser wrote:
Attached is a patch that applies cleanly to CGI::Application version
3.31. The patch adds a bounce(runmode_name) method to CGI::Application
The idea behind the bounce() method is to hopefully standardize the way
we change run modes. Have a look at the sample code snippet of a
On Mon, 14 Mar 2005 12:17:43 -0500, Michael Peters
[EMAIL PROTECTED] wrote:
Tony Fraser wrote:
Attached is a patch that applies cleanly to CGI::Application version
3.31. The patch adds a bounce(runmode_name) method to CGI::Application
The idea behind the bounce() method is to hopefully
David Kaufman wrote:
return $self-bounce('display_widget');
what was wrong with:
return $self-display_widget();
There are a couple of reasons (although for the most part minor, which
all have work-arounds) why a method like 'bounce' might be nice.
+ the get_current_run_mode() will not DWIM
Hello all,
The code below is supposed to delete the session cookie from the
requesting
browser; it successfully delete the session record from the table. I am
using
both the DBH and Session plugins to CGI::Application.
.
.
.
my $cgi = $self-query();
my
On Mon, 14 Mar 2005 10:27:34 -0600, Geoffrey G. Hankerson
[EMAIL PROTECTED] wrote:
2. Micael Peters suggests:
my $runmode = $query-param('page');
my %rms = $self-run_modes();
return $self-$rms{$runmode};
This returns this error:
syntax error at Supersite.pm line 694, near $rms{
syntax
This works!
my $dbh = $self-dbh();
$self-session_config(
CGI_SESSION_OPTIONS = [driver:MySQL, $session_id,
{Handle=$dbh}],
###
# take out these
# COOKIE_PARAMS = { -expires
= 'now'},
#
On Mon, 14 Mar 2005 11:57:42 -0500, Michael Peters
[EMAIL PROTECTED] wrote:
If you specified the values as code refs, then you would have to do something
more than what I was telling you. If you didn't use code ref's, but just
the names of the methods as the values, then the following should