> -----Original Message-----
> From: Guru Geek [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 3:10 PM
> To: [EMAIL PROTECTED]
> Subject: mod PERL versus PERL
> 
> 
> Hello,
> 
> Can someone tell me the coding difference and syntax 
> difference between PERL and mod PERL?

Perl is a language. mod_perl is an Apache module that allows you to write
Apache handlers in the Perl language.

> 
> I'm getting errors in a script where there shouldnt be any.  
> I've recently switched hosts and my new host uses mod PERL....

To run "regular" CGI scripts under mod_perl, they need to be handled by a
mod_perl handler that emulates a CGI-like environment. The most common
module for this is Apache::Registry.

To run CGI scripts under Apache::Registry, you need to be aware of a few
things. Your best bet is to read the porting section of the mod_perl guide
at

http://perl.apache.org/docs/1.0/guide/porting.html

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

Reply via email to