Alexandr Ciornii wrote:
Hello.
It seems that HTML::FillInFrom fixed a bug in 1.07 and tests relied on
incorrect behaviour. So skipping this test should be ok.
I have provided more information here:
http://rt.cpan.org/Ticket/Display.html?id=35056
I forced it and it still won't work for me (I
The diff (against 4.07_02) below extracts the hard-coded HTML::Template
classname from load_tmpl.
This should make it easier to drop in a replacement module, and it will
certainly simplify maintenance of both CGI::Application::Plugin::HTDot and
your CGI::Application::Plugin::HTCompiled, since
Mark Stosberg wrote:
In the past, the way I returned 404 page through CGI::App was something
like this:
return $self-error(title = 'Page not found');
I learned that is too late to return a real 404 error running under CGI,
so the page comes back with a 200 status code, which isn't quite
Thanks for the contribution, Rhesa. Come feedback is below.
On Wed, 07 May 2008 15:12:37 +0200
Rhesa Rozendaal [EMAIL PROTECTED] wrote:
The diff (against 4.07_02) below extracts the hard-coded HTML::Template
classname from load_tmpl.
This should make it easier to drop in a replacement
In the past, the way I returned 404 page through CGI::App was something
like this:
return $self-error(title = 'Page not found');
I learned that is too late to return a real 404 error running under CGI,
so the page comes back with a 200 status code, which isn't quite right.
On Wed, 07 May 2008 07:59:24 -0400
Robert Hicks [EMAIL PROTECTED] wrote:
Alexandr Ciornii wrote:
Hello.
It seems that HTML::FillInFrom fixed a bug in 1.07 and tests relied on
incorrect behaviour. So skipping this test should be ok.
I have provided more information here:
I learned that is too late to return a real 404 error running under CGI,
so the page comes back with a 200 status code, which isn't quite right.
More recently, I learned that with mod_perl, I learned that I can get
the system to return a true 404, so I updated the logic to do that
I have a runmode that goes back to home when finished:
$self-home;
I would like to send a flag back to home (0 for bad and 1 for good) so
a param in home can be set.
I looked in the C::A docs but didn't find it or I missed it (entirely
possible). =)
Robert
# CGI::Application
On Wed, May 7, 2008 at 12:18 PM, Robert Hicks [EMAIL PROTECTED] wrote:
I have a runmode that goes back to home when finished:
$self-home;
I would like to send a flag back to home (0 for bad and 1 for good) so a
param in home can be set.
From the runmode (method) you want to return back
Mark Fuller wrote:
On Wed, May 7, 2008 at 12:18 PM, Robert Hicks [EMAIL PROTECTED] wrote:
I have a runmode that goes back to home when finished:
$self-home;
I would like to send a flag back to home (0 for bad and 1 for good) so a
param in home can be set.
From the runmode (method) you
Mark Fuller wrote:
On Wed, May 7, 2008 at 12:53 PM, Robert Hicks [EMAIL PROTECTED] wrote:
That would be for H::T correct? I use TT and the line that I output looks
like:
return $self-tt_process( 'home.html', \%params );
Yes, same thing. The idea is, from the invoked runmode/method you
11 matches
Mail list logo