Hi there,

On Mon, 9 Feb 2004, Pierre Smolarek wrote:

> To help improve script speed with mod perl, we need to somehow embed an
> executable inside a mod_perl script.

Forgive me for being cynical, but your explanation is unconvincing.

> Take for example, top. Is it possible to embed top inside a mod_perl script
> and/or keep it in resident memory so there is no forking out? 

No.  Apparently you have a lot of reading to do.  A mod_perl script is
a text file written in Perl, but 'top' is a binary executable compiled
for your machine.  They're like chalk and cheese.

There are probably ways to do what you want to do but embedding an
electric iron inside an internal combustion engine so that it will do
your shirts on the way to work isn't one of them.  If you can be more
specific and forthcoming about your requirements we can be more help.

73,
Ged.


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to