Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Re: The Gates of Perl are not newbie friendly.by Gilimanjaro (Hermit) |
on Apr 22, 2003 at 08:55 UTC ( [id://252221]=note: print w/replies, xml ) | Need Help?? |
PLP doesn't require mod_perl, but it is recommended if you'll be running any large scripts. Mod_perl sort of 'embeds' a resident perl interpreter in Apache, which in turn caches your perl-scripts in memory. That way perl doesn't have to be loaded on each CGI request, and perl doesn't have to recompile your script on every request. On the PLP page are instructions for the system administrators on how to use PLP both with and without CGI. After they've done that, you'll be able to 'use' PLP without useing it... It's a module you'll never invoke directly. It is invoked by the webserver and allows you to create .plp scripts instead op .pl scripts. If you want to see examples of .plp pages, just visit the homepage for PLP (http://plp.juerd.nl/) and on any page click 'Page Source' in the left navigation bar. The main advantage to PLP is that it debugs easier than plain CGI, and it can be used to easily build html-templates, so you don't have to hardcode your html in your scripts. The benefits of stuff like this will become obvious once you've gotten started using it... :) Regards, Gilimanjaro...
In Section
Seekers of Perl Wisdom
|
|