X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/7509565253b19493771cfc2e13ab166f1a8cc5f8..c8e35e0b2ab35f8af3d98fa0b69c41a73b62c714:/PLP.pm diff --git a/PLP.pm b/PLP.pm index 3efbfdb..b97420e 100644 --- a/PLP.pm +++ b/PLP.pm @@ -353,10 +353,10 @@ C<< foo <:= $bar :> $baz >> is like C<< <: print 'foo ', $bar, ' baz'; :> >>. Includes another file before the PLP code is executed. The file is included literally, so it shares lexical variables. Because this is a compile-time tag, it's fast, but you can't use a variable as the filename. You can create -recursive includes, so beware of that! Whitespace in the filename is not -ignored so C<< <( foo.txt)> >> includes the file named C< foo.txt>, including -the space in its name. A compile-time alternative is include(), which is -described in L. +recursive includes, so beware! (PLP will catch simple recursion: the maximum +depth is 128.) Whitespace in the filename is not ignored so C<< <( foo.txt)> >> +includes the file named C< foo.txt>, including the space in its name. A +compile-time alternative is include(), which is described in L. =back @@ -402,6 +402,20 @@ These are described in L. =back +=head2 (mod_perl only) PerlSetVar configuration directives + +=over 22 + +=item PLPcache + +Sets caching B/B. When caching, PLP saves your script in memory and +doesn't re-read and re-parse it if it hasn't changed. PLP will use more memory, +but will also run 50% faster. + +B is default, anything that isn't =~ /^off$/i is considered On. + +=back + =head2 Things that you should know about Not only syntax is important, you should also be aware of some other important @@ -431,11 +445,6 @@ The special hashes are tied hashes and do not always behave the way you expect, especially when mixed with modules that expect normal CGI environments, like CGI.pm. Read L for information more about this. -=head1 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/ - =head1 FAQ A lot of questions are asked often, so before asking yours, please read the @@ -450,5 +459,9 @@ responsibility. Juerd Waalboer +=head1 SEE ALSO + +L, L, L + =cut