I have done a module for Apache Web Server that recognizes the device and
redirect to the correct contents (WML, XHTML etc.) you have defined.
Also it's possible to resize dynamically the images depends of the device
characteristics.
Do you think this module could be useful?
The module is Open Sour
Hi
This is a beginner question.
I want to instantiate an object just once in the lifetime of a script, not on
every request.
I'm used to Mason where you can use Mason's <%once> block.
In mod_perl proper would the equivalent be to instantiate it in a BEGIN block?
But it would need to be in sco
Perrin Harkins wrote:
On Fri, Feb 27, 2009 at 3:06 PM, Mark Hedges wrote:
What about PerlOptions +Parent?
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_
That's the thing I was referring to that I haven't tried. Can anyone
confirm that this works?
There are some threads
On Fri, Feb 27, 2009 at 3:06 PM, Mark Hedges wrote:
> What about PerlOptions +Parent?
> http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_
That's the thing I was referring to that I haven't tried. Can anyone
confirm that this works?
- Perrin
On Fri, 27 Feb 2009, Carl Johnstone wrote:
> Perrin Harkins wrote:
>
> > I've heard people say that DBIx::Class has a slow startup,
> > so if you use that you might look there first.
>
> We do, I'll look.
If you're loading the schema from the database instead of
defining it from all the modules
Michael A. Capone wrote:
I believe the ../ in there may be what's throwing things off. That
would probably interpolate as
/home/stf/public_html/test/arcv/common.pl
... which, unless that is indeed where common.pl is located, would
generate the error you're seeing.
Yes this is where com
Stanisław T. Findeisen wrote:
I am trying to require() a file using its absolute name. In command
line mode everything works fine, but not in Apache: [Fri Feb 27
17:45:07 2009] [error] Can't locate
/home/stf/public_html/test/arcv/public_html/../common.pl in @INC (@INC
contains: /usr/lib/perl5/
I am trying to require() a file using its absolute name. In command line
mode everything works fine, but not in Apache:
[Fri Feb 27 17:45:07 2009] [error] Can't locate
/home/stf/public_html/test/arcv/public_html/../common.pl in @INC (@INC
contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thr
Perrin Harkins wrote:
> different FastCGI backend because it would waste memory, so either way
> you'll want to group things together as much as possible.
Yeah, that confirms my thinking.
> I've heard people say that DBIx::Class has a slow startup,
> so if you use that you might look there first.
On Fri, Feb 27, 2009 at 11:43 AM, Matthew Lenz wrote:
> No, this is just a legacy app that runs straight CGI's via
> ModPerl::RegistryPrefork
I'd check for any $^W manipulation in ModPerl::RegsitryPrefork.
> I thought that if a package does a 'use warnings;' that it only affects
> code being exe
On Fri, Feb 27, 2009 at 5:30 AM, Carl Johnstone
wrote:
> The thing is that as I'm running the app under Catalyst, once I've started
> splitting off into different server instances, there's not as much of an
> advantage in using mod_perl - I can use FastCGI or HTTP::Prefork or even
> just run catal
On Fri, 2009-02-27 at 11:29 -0500, Perrin Harkins wrote:
> On Fri, Feb 27, 2009 at 7:58 AM, Matthew Lenz wrote:
> > I looked through the packge diff:
> >
> > http://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-perl2/libapache2-mod-perl2_2.0.4-5.diff.gz
> >
> > and didn't spot any changes
On Fri, Feb 27, 2009 at 7:58 AM, Matthew Lenz wrote:
> I looked through the packge diff:
>
> http://ftp.de.debian.org/debian/pool/main/liba/libapache2-mod-perl2/libapache2-mod-perl2_2.0.4-5.diff.gz
>
> and didn't spot any changes that would have this affect.
What about other CPAN modules you're u
Carl Johnstone wrote:
1) We want to run different versions of the same app for different sites -
this means I have a namespace problem for MyApp v1 vs MyApp v2 etc.
Just my opinion, but it's sooo much easier to manage multiple sites if they are
all using the same version of the application. W
Hello,
Perrin Harkins wrote:
On Thu, Feb 26, 2009 at 12:38 PM, Carl Johnstone
wrote:
1) We want to run different versions of the same app for different sites -
this means I have a namespace problem for MyApp v1 vs MyApp v2 etc.
This has been discussed many times on the list. You can
On Thu, 2009-02-26 at 17:17 -0500, Perrin Harkins wrote:
> On Thu, Feb 26, 2009 at 4:01 PM, Matthew Lenz wrote:
> > Maybe the debian guys did something goofy with the modules. It wouldn't
> > be the first time. That or maybe its just a bug in ModPerl. Even if
> > some CPAN module out there has
Perrin Harkins wrote:
> You can't run two modules with the same name in the same perl
> interpreter, so you either need to change the namespaces for
> different versions or run separate servers.
Yeah it's a pity that the perchild mpm never moved out of experimental. In
theory something like loadi
17 matches
Mail list logo