X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/55b5d8b2c5b2d13e40ed37f37ef54f0e1f37af4b..4fbabf3a9fbdfecf548528895a95f194ffc520e2:/README diff --git a/README b/README index d21d1f0..0f057eb 100644 --- a/README +++ b/README @@ -1,62 +1,35 @@ -NAME - PLP - Perl in HTML pages +PLP - PERL IN HTML PAGES -MODULE INSTALLATION +PLP is yet another Perl embedder, primarily for HTML documents. Unlike +with other Perl embedders, there is no need to learn a meta-syntax or +object model: one can just use the normal Perl constructs. PLP runs +under FastCGI and mod_perl for speeds comparable to those of PHP, but +can also be run as a standard CGI script. + +INSTALLATION + +To install this module, run the following commands: perl Makefile.PL make + make test make install -SYNOPSIS - mod_perl installation - * httpd.conf (for mod_perl setup) - - SetHandler perl-script - PerlHandler PLP - PerlSendHeader On - - - # Who said CGI was easier to set up? :) - - CGI installation - * /foo/bar/plp.cgi (local filesystem address) - #!/usr/bin/perl - use PLP; - PLP::everything(); - - * httpd.conf (for CGI setup) - ScriptAlias /foo/bar/ /PLP_COMMON/ - - AllowOverride None - Options +ExecCGI - Order allow,deny - Allow from all - - AddHandler plp-document plp - Action plp-document /PLP_COMMON/plp.cgi - - Test script (test.plp) - - <: - print "Hurrah, it works!
" for 1..10; - :> - - -DESCRIPTION - PLP is yet another Perl embedder, primarily for HTML documents. Unlike - with other Perl embedders, there is no need to learn a meta-syntax or - object model: one can just use the normal Perl constructs. PLP runs - under mod_perl for speeds comparable to those of PHP, but can also be - run as a CGI script. - -WEBSITE - For now, all documentation is on the website. Everything will be POD one - day, but until that day, you will need to visit http://plp.juerd.nl/ - -NO WARRANTY - No warranty, no guarantees. Use PLP at your own risk, as I disclaim all - responsibility. - -AUTHOR - Juerd Waalboer +SUPPORT AND DOCUMENTATION + +After installing, documentation will be installed as manual pages: + + man PLP + +It can also be found at CPAN: + + http://search.cpan.org/dist/PLP + +COPYRIGHT + +Copyright (c) 2000-2002 Juerd Waalboer, 2005-2008 Mischa POSLAWSKY. +All rights reserved. + +This software is free software; you can redistribute and/or modify it +under the terms of the MIT/X11 license (see COPYING).