On Sun, 6 Jan 2002, Terrence Brannon wrote:
Is there any possibility of abstracting the requirement of
CGI::Application for HTML::Template? I had been interested in
using CGI::Application with my templating module HTML::Seamstress.
Sure, just don't call load_tmpl() and you can ignore
On Tue, 8 Jan 2002, Mark Stosberg wrote:
OTOH, I think MailPage is a good fit for CPAN-- it needs just bit of
code in an instance script to work, and you don't need a template file
to get going. If I was to provide a default template set to use with
Cascade, my 20+ template files would be
On Thu, 10 Jan 2002, Sabherwal, Balvinder (MBS) wrote:
The script gets hung when it executes this line and here is what it gives in
the debug mode:
main::(test.cgi:34):$q = new CGI;
DB1
(offline mode: enter name=value pairs on standard input)
Any ideas as what am I doing wrong??
On Fri, 11 Jan 2002, Sabherwal, Balvinder (MBS) wrote:
If I copy and paste the output in a file and save it as html, it works
fine, when I call this script from the web server, It returns me an
Internal Server Error message. What is the reason??
I don't know. Check your server logs!
-sam
On Mon, 4 Feb 2002, tomasz konefal wrote:
the example you gave is what i'm currently implementing, but it just doesn't
seem right because it looks as though i'm not actually changing run modes,
but i'm nesting into another method temporarily, and then jumping out. is
this a correct
On Wed, 6 Mar 2002, Joel Gwynn wrote:
sub thisform {
my $self = shift;
my $dbh = $self-param('dbh');
my $q = $self-query;
...
I know it's not a huge pain to do this, but is there a better way to
have each sub automatically know about $dbh, $q, etc. Is this a good
idea?
On Tue, 12 Mar 2002, Bill Catlan wrote:
Idiom in question:
# Get run-mode from subref
$rm = $rm_param-($self);
Is there a word for this idiom in the object oriented programming world - where
an object calls a method on itself and passes a reference to itself to that
method? It seems
On Wed, 13 Mar 2002, Jean-Marc Pennel wrote:
I suggest the addition of a new virtual method call in the run sub.
The finish virtual method is called at the end of each run mode,
but before setting up HTTP headers.
I use this method to set a session cookie after each run mode.
Maybe we
Here's a patch that sets TMPL_PATH using the HTML::Template path option
rather than prepending it using a string. This removes the restriction
that all paths must end in $ENV{IFS}. Also, it allows the TMPL_PATH
setting to coexist with other potential search paths for templates
(i.e.
On Wed, 22 May 2002, Cory Trese wrote:
Scenario:
1.template loaded in 'cgiapp_ini( )' method, some parameters passed into it
2.template will be used in all of the children run modes -- it would also
be convenient if they could fill in some additional parameters.
Thus, the logic
On Fri, 24 May 2002, Brett Sanger wrote:
I've missed the beginning of this discussion, so just tell me to shut
up if I'm off track here.
Yeah, you're off track. We're not talking about setup()...
If you have the run-mode name in a variable you can do:
my $run_mode = foo;
return
11 matches
Mail list logo