package PPerl; use strict; use vars qw($VERSION @ISA @EXPORT_OK); require DynaLoader; require Exporter; $VERSION = '0.25'; @ISA = qw(Exporter DynaLoader); @EXPORT_OK = qw( s_pipe send_fd recv_fd writen read_int ); bootstrap PPerl $VERSION; 1; __END__ =head1 NAME PPerl - Make perl scripts persistent in memory =head1 SYNOPSIS $ pperl foo.pl =head1 DESCRIPTION This program turns ordinary perl scripts into long running daemons, making subsequent executions extremely fast. It forks several processes for each script, allowing many proceses to call the script at once. It works a lot like SpeedyCGI, but is written a little differently. I didn't use the SpeedyCGI codebase, because I couldn't get it to compile, and needed something ASAP. The easiest way to use this is to change your shebang line from: #!/usr/bin/perl -w To use pperl instead: #!/usr/bin/pperl -w =head1 WARNINGS Like other persistent environments, this one has problems with things like BEGIN blocks, global variables, etc. So beware, and try checking the mod_perl guide at http://perl.apache.org/guide/ for lots of information that applies to many persistent perl environments. =head1 Parameters $ pperl -- scriptname