I like PersistentPerl quite a bit for both web and command-line use. The only problem is it keeps me tied down to Perl 5.8.x, as it’s apparently no longer maintained. I’m aware of mod_perl and FastCGI, but these don’t appear to have CLI functionality (correct me if I’m wrong!). So is there a suitable replacement for PersistentPerl?
Share
App::Persistent is the modern alternative. It is kind of beta and requires a Haskell compiler, but it is very fast and very non-magical. It tends to Just Work.
Example persistent application: http://github.com/jrockway/app-persistent/blob/master/repl.pl