in reply to mod_perl from CLI?
But yes it's possible, you basically need a constantly running server/demon which does your task.
-Pro: no Perl startup time, no script load time, no compile time overhead
-Con: Socket/Port communication, additional effort needed to make your script stateless to avoid side effects
For example, you can have a look at Perl::Tidy which can be run in server mode.
> (it has 15000 pages to build, across 6 template sets ... so takes quite a while to run)
I can't see the benefit here, except if you really try to start Perl for each single page ...
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: mod_perl from CLI?
by ultranerds (Hermit) on Mar 14, 2019 at 16:23 UTC | |
by LanX (Saint) on Mar 14, 2019 at 16:27 UTC | |
by Marshall (Canon) on Mar 14, 2019 at 20:39 UTC |