You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Miroslav Madzarevic <mi...@netymology.com> on 2001/09/14 10:37:09 UTC
keeping perl in memory
Blank
This question does and doesn't have to do with mod_perl.
I wish to keep perl binary (nothing related to apache) in memory so that
each time a specific script is invoked there is no cost of perl startup
time. The script gets executed many times (intercepts corporate, virtual
domain email).
Regards,
Mire
------------------
perl -Mstrict -e 'print pack("h*", "d69627560496e616d656e236f6d6"),"\n"'
OPTIMISED FOR HUMAN OPTICAL NERVE
BEST VIEWED WITH A MONITOR <grin>
Re: keeping perl in memory
Posted by Jeremy Howard <jh...@howard.fm>.
Miroslav Madzarevic wrote:
> I don't wan't anything related to Apache (no Apache, not even
> Apache::Registry or anything else, I'm a mod perl, Mason programmer so I'm
> familiar with them).
>
> I just wanted to have perl binary persistent in memory (_like_ in
mod_perl)
> so that perl doesn't have to be loaded #!/usr/local/bin/perl on each
_shell_
> request and there could be many of requests (once per email).
>
http://sourceforge.net/projects/speedycgi/
> If there is another list to wich I should direct questions like these
please
> direct me.
>
The newsgroup comp.lang.perl.misc is most appropriate forum for general Perl
questions. Also, comp.lang.perl.modules is for discussing use of Perl
modules. If you don't have access to a Usenet (NNTP) server you can use the
web interface at http://groups.google.com
Re: keeping perl in memory
Posted by Miroslav Madzarevic <mi...@netymology.com>.
I don't wan't anything related to Apache (no Apache, not even
Apache::Registry or anything else, I'm a mod perl, Mason programmer so I'm
familiar with them).
I just wanted to have perl binary persistent in memory (_like_ in mod_perl)
so that perl doesn't have to be loaded #!/usr/local/bin/perl on each _shell_
request and there could be many of requests (once per email).
But I found a solution with Matt Sergeant's help in using POE or some other
daemon and communicating with it. This way I have perl in some sort of
persistance. It's not a true replacement but it will do.
If there is another list to wich I should direct questions like these please
direct me.
Rgds,
mire
----- Original Message -----
From: "Ged Haywood" <ge...@www2.jubileegroup.co.uk>
To: "Miroslav Madzarevic" <mi...@netymology.com>
Cc: <mo...@apache.org>
Sent: Friday, 14 September, 2001 14:55
Subject: Re: keeping perl in memory
> > This question does and doesn't have to do with mod_perl.
> > I wish to keep perl binary (nothing related to apache) in memory
>
> See the Guide:
>
> http://perl.apache.org/guide
>
> And read about Apache::Registry.
Re: keeping perl in memory
Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,
On Fri, 14 Sep 2001, Miroslav Madzarevic wrote:
> This question does and doesn't have to do with mod_perl.
> I wish to keep perl binary (nothing related to apache) in memory
See the Guide:
http://perl.apache.org/guide
And read about Apache::Registry.
73,
Ged.