On Fri, 10 Mar 2006 15:25:30 -0500, Jason Purdy wrote:
Hi Jason
> It was a bear to move things around - now I have things in 3 or 4
> different places (templates, stylesheet, .pm files and logs), but I
No need to have things in several places. Just use:
$docroot/assets/$project/
- css/
I forgot to point out that I invoked the code through the OS command line
and not a web server when running the memory test
> -Original Message-
> From: Dan Horne [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 11 March 2006 12:34
> To: [EMAIL PROTECTED];
> cgiapp@lists.erlbaum.net
> Subject
Hi
I'm using CGI::Application::Plugin::Anytemplate with HTML::Template::Expr
for an application, and it uses a heck of a lot of memory. Because my code
is spread over a number of packages, I'll summarise my logic in pseudo-code:
sub publish_all {
foreach my $content_id ($self->get_content_ids
That worked, Michael - thanks! I had to restructure the project, but
it's all working now.
Also, thanks, Viacheslav, for chiming in, too.
It was a bear to move things around - now I have things in 3 or 4
different places (templates, stylesheet, .pm files and logs), but I
guess I could have m
"Viacheslav Sheveliov" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:[EMAIL PROTECTED]
>
> "Jason Purdy" <[EMAIL PROTECTED]> ???/ ?
> ?: news:[EMAIL PROTECTED]
>
> Hi, Jason!
>
> Try to insert in the very end of your instance script:
>
> delete($ENV
"Jason Purdy" <[EMAIL PROTECTED]> ???/ ?
?: news:[EMAIL PROTECTED]
Hi, Jason!
Try to insert in the very end of your instance script:
delete($ENV{PATH_INFO}) if $ENV{MOD_PERL};
If it will work, so it seems, this is a bug in mod_perl or Apache.
Jason Purdy wrote:
> Hi,
>
> I'm running into a wall here with Dispatch and thought to reach out for
> help.
>
> I got everything going great, but decided to move the app to mod_perl
> and that's where things went a little crazy.
>
> First, the apache config:
>
>
> use lib '/var/www/site/web
Hi,
I'm running into a wall here with Dispatch and thought to reach out for
help.
I got everything going great, but decided to move the app to mod_perl
and that's where things went a little crazy.
First, the apache config:
use lib '/var/www/site/web/resources';
SetHandler perl-scrip
Hello!
If I want to call $self->cfg() at the cgiapp_init-stage, I recieve the
following error:
Error executing class callback in init stage: must call cfg_files() before
calling cfg(). at [...]/AP_tiny_admin.pm line 98
How do I have to use the Plugin that I may use it at the init-stage?