seperate/rewritten README file
[perl/plp/.git] / PLP.pm
diff --git a/PLP.pm b/PLP.pm
index e5988c6e1da767c52cb045ef0c1bcd77db8fdbf4..03c4acbe38a48d40b5b4eda076ea591a19951081 100644 (file)
--- a/PLP.pm
+++ b/PLP.pm
@@ -81,12 +81,12 @@ sub error {
 
 # Wrap old request handlers.
 sub everything {
 
 # Wrap old request handlers.
 sub everything {
-       require PLP::CGI;
-       PLP::CGI::everything();
+       require PLP::Backend::CGI;
+       PLP::Backend::CGI::everything();
 }
 sub handler {
 }
 sub handler {
-       require PLP::Apache;
-       PLP::Apache::handler(@_);
+       require PLP::Backend::Apache;
+       PLP::Backend::Apache::handler(@_);
 }
 
 # Sends the headers waiting in %PLP::Script::header
 }
 
 # Sends the headers waiting in %PLP::Script::header
@@ -258,25 +258,25 @@ PLP - Perl in HTML pages
 
 =head2 Lighttpd installation
 
 
 =head2 Lighttpd installation
 
-F<lighttpd.conf> configuration using L<mod_fastcgi|PLP::FastCGI>:
+F<lighttpd.conf> configuration using L<mod_fastcgi|PLP::Backend::FastCGI>:
 
     server.modules = (
         "mod_fastcgi",
     )
     fastcgi.server = (
         ".plp" => ((
 
     server.modules = (
         "mod_fastcgi",
     )
     fastcgi.server = (
         ".plp" => ((
-                    "bin-path" => "/usr/bin/perl -MPLP::FastCGI",
+                    "bin-path" => "/usr/bin/perl -MPLP::Backend::FastCGI",
                     "socket" => "/tmp/fcgi-plp.socket",
                   )),
     )
 
 =head2 Apache installation
 
                     "socket" => "/tmp/fcgi-plp.socket",
                   )),
     )
 
 =head2 Apache installation
 
-F<httpd.conf> for a L<mod_perl|PLP::Apache> setup:
+F<httpd.conf> for a L<mod_perl|PLP::Backend::Apache> setup:
 
     <Files *.plp>
         SetHandler perl-script
 
     <Files *.plp>
         SetHandler perl-script
-        PerlHandler PLP::Apache
+        PerlHandler PLP::Backend::Apache
         PerlSendHeader On
     </Files>
 
         PerlSendHeader On
     </Files>
 
@@ -293,25 +293,30 @@ F<httpd.conf> for a L<mod_perl|PLP::Apache> setup:
 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
 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
-L<mod_perl|PLP::Apache> and L<FastCGI|PLP::FastCGI> for speeds comparable
-to those of PHP, but can also be run as a standard L<CGI|PLP::CGI> script.
+L<FastCGI|PLP::Backend::FastCGI> and L<mod_perl|PLP::Backend::Apache>
+for speeds comparable to those of PHP, but can also be run as a standard
+L<CGI|PLP::Backend::CGI> script.
 
 =head2 Setup
 
 
 =head2 Setup
 
-See either L<CGI|PLP::CGI>, L<FastCGI|PLP::FastCGI> or L<Apache|PLP::Apache>.
+See either
+L<CGI|PLP::Backend::CGI>,
+L<FastCGI|PLP::Backend::FastCGI> (recommended)
+or L<Apache|PLP::Backend::Apache>.
 At least the following servers are supported:
 
 =over 10
 
 =item Lighttpd
 
 At least the following servers are supported:
 
 =over 10
 
 =item Lighttpd
 
-With L<mod_fastcgi|PLP::FastCGI> or L<mod_cgi|PLP::CGI>.
+With L<mod_fastcgi|PLP::Backend::FastCGI> or L<mod_cgi|PLP::Backend::CGI>.
 
 =item Apache
 
 
 =item Apache
 
-Either version 1 or 2.
-Using L<mod_perl|PLP::Apache>, L<mod_fastcgi, mod_fcgid|PLP::FastCGI>,
-or L<mod_action|PLP::CGI>.
+Either version 1 or 2. Using
+L<mod_fcgid, mod_fastcgi|PLP::Backend::FastCGI>,
+L<mod_perl|PLP::Backend::Apache>,
+or L<mod_action|PLP::Backend::CGI>.
 
 =back
 
 
 =back
 
@@ -429,17 +434,20 @@ CGI.pm. Read L<PLP::Fields> for information more about this.
 A lot of questions are asked often, so before asking yours, please read the 
 FAQ at L<PLP::FAQ>. Some examples can be found at L<PLP::HowTo>.
 
 A lot of questions are asked often, so before asking yours, please read the 
 FAQ at L<PLP::FAQ>. Some examples can be found at L<PLP::HowTo>.
 
-=head1 NO WARRANTY
-
-No warranty, no guarantees. Use PLP at your own risk, as I disclaim all
-responsibility.
-
 =head1 AUTHORS
 
 Currently maintained by Mischa POSLAWSKY <perl@shiar.org>
 
 Originally by Juerd Waalboer <juerd@cpan.org>
 
 =head1 AUTHORS
 
 Currently maintained by Mischa POSLAWSKY <perl@shiar.org>
 
 Originally by Juerd Waalboer <juerd@cpan.org>
 
+=head1 LICENSE
+
+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.
+
 =head1 SEE ALSO
 
 L<PLP::Functions>, L<PLP::Fields>, L<PLP::FAQ>, L<PLP::HowTo>
 =head1 SEE ALSO
 
 L<PLP::Functions>, L<PLP::Fields>, L<PLP::FAQ>, L<PLP::HowTo>