Re: Putting Perl into Linux Kernel

Sean Hunter (sean@uncarved.co.uk)
Thu, 22 Jul 1999 08:45:03 +0100


On Thu, Jul 22, 1999 at 01:54:16PM +1000, Craig Sanders wrote:
> On Tue, Jul 20, 1999 at 08:56:34AM -0700, Mr. James W. Laferriere wrote:
>
> > Hello Sean, I personally do not want to see perl dumped into the
> > kernel space .
>
> i agree (not that my opinion counts, since i'm not a kernel hacker) -
> perl doesn't belong in the kernel.
>
> > But I sure would like to know of a project (I thought I heard
> > something once before, but ...) to set it up as a daemon , ie: all
> > libs & ... aleady loaded . Yes I am aware of the apache module . Is
> > there such a project ?
>
> SpeedyCGI is what you want. it's mostly used for cgi stuff but is
> generically useful for any perl script...it does for any perl script
> what mod_perl does for apache & CGI: makes the script "persistent". any
> script which takes a long time to start up, compile, load config files,
> or initialise variables will benefit.

I've already replied a lot in private about this, but am crossposting
the list in the hope of getting thie to die off. Anyone wanting a
persistent perl interpreter should read man perlembed, and
particularly the section entitled "Maintaining a persistent
intrpreter". Its very easy, and all the code is in the manpage.

Apologies for wasting list bandwidth.

Sean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/