Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: The Gates of Perl are not newbie friendly.

by Hielo (Sexton)
on Apr 19, 2003 at 16:58 UTC ( [id://251682]=note: print w/replies, xml ) Need Help??


in reply to Re: The Gates of Perl are not newbie friendly.
in thread The Gates of Perl are not newbie friendly.

My webhost is a compnay out of New Hampshire, WebServePro, great bunch of people, I have actually been with them for about 4 years now (a couple of very small, simple web sites). They have always bent over backwards to help me out.

I have yet to check to see if they are running mod_perl, but if they are, I will ask them to install PLP, after reading the docs on it, it looks like it woudl simplify alot of what I am trying to do.

I have learning Pearl, as I am accustomed to communicating with infants, and the most advanced books I have read inthe past 7 to 8 years all involved a big red dog named Clifford, I am finding it slow going. I tracked down a copy of the SAMs book (Learn Perl in 21 days) locally and am going to run out this afternoo to pick it up.

Thanks for the heads up on the modules, now I have to figure out how to *use* them <s>.

  • Comment on Re: Re: The Gates of Perl are not newbie friendly.

Replies are listed 'Best First'.
Re: Re: Re: The Gates of Perl are not newbie friendly.
by Gilimanjaro (Hermit) on Apr 22, 2003 at 08:55 UTC
    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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251682]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-25 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found