in reply to Static Perl

Is this really recommended?
I'm not sure. I think if you really want to improve perl loading performance, you'd just set the sticky bit on the perl executable.

In any case, I don't think it would matter for any situation where you're not exec()ing many perl interpreters a second, and some kind of persistent server solution - like mod_perl, fastcgi or a pure-perl server - would be much faster than anything this trick would offer.

Replies are listed 'Best First'.
Re^2: Static Perl
by Thilosophy (Curate) on Mar 19, 2008 at 02:13 UTC
    I think if you really want to improve perl loading performance, you'd just set the sticky bit on the perl executable.

    Does the sticky bit still work in this way anywhere? According to Wikipedia it seems to be ignored (or used to do completely different things) on most operating systems (they mention that HP-UX supports it).