John Griessen wrote:
>I have not figured out how to run a program yet, though.
>Will I be able to run etiher perl or mod perl with the same web server?

Apache can run Perl either through CGI or through mod_perl. You can set up 
different URLs on the same Apache installation to run cgi and mod_perl.

CGI is easier to learn, but mod_perl will teach you more (it's unforgiving 
on bad code).

>When you use mod_perl, do you have to abandon perl modules like LWP to get 
>speed?   Do you still get a benefit from loading LWP functions?

LWP is usually used for making web requests, not for creating responses from 
a webserver. It can be used from any Perl script, whether the script is 
being run from mod_perl or cgi.

mod_perl will usually be 40 times faster than CGI, no matter what modules 
you load in your Perl. However, you can speed up CGI modules using 
Apache::Registry - again the best source of information is the amazon link 
below.

>Is the reason to use an emulation of mod-perl because debugging mod_perl
>directly is harder?

Sort of. I put together Apache::Emulator because I wanted to write Perl 
scripts at work where we use a Netscape webserver, and I prefer to write 
mod_perl than CGI. However, I also use Apache::Emulator at home, where I do 
have access to mod_perl - so I don't need to keep restarting Apache to 
reload a mod_perl module I'm working on.

>Can you point me in the direction of some docs covering this?

There is only one good source of information about mod_perl:
http://www.amazon.com/exec/obidos/ASIN/156592567X

I haven't found any good starter material on the web. http://perl.apache.org 
has lots of good stuff once you're up and running.

>Know an Austinite who is expert at perl,linux, 2 local computer plus web 
>host networks with 2.4 kernel and will explain/teach for buying them lunch?

Sorry, I'm a limey. Try Mark Lehmann <[EMAIL PROTECTED]> at Austin Perl 
Mongers: http://austin.pm.org/

Good luck


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to