Date: Thu, 21 Jun 2001 22:44:20 -0600 (MDT) From: "Forrest W. Christian" <forrestc@imach.com> To: Ryan Thompson <ryan@sasknow.com> Cc: Sean Chittenden <sean-freebsd-isp@chittenden.org>, Troy Settle <troy@psknet.com>, freebsd-isp@FreeBSD.ORG Subject: Re: mod_perl Message-ID: <Pine.BSF.4.21.0106212241230.15645-100000@workhorse.iMach.com> In-Reply-To: <Pine.BSF.4.21.0106212110080.82170-100000@ren.sasknow.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jun 2001, Ryan Thompson wrote: > Two things you need to keep in mind: > > 1. Not all Perl source is compatible with mod_perl. Your scripts WILL > break if they are not coded in "the mod_perl way". Many perl scripts NOT > written for mod_perl will not work correctly. (Chances are they will WORK, > but will start to produce WEIRD results like incremental counters that > work fine for awhile, then start spitting out oddball numbers). Your > choice: > * (re)write the CGI for mod_perl > * Don't run the script under mod_perl I will have to say that some scripts written FOR mod_perl can produce WEIRD results. mod_perl scripts are not the easiest things to write, as if you miss reinitializing a variable you're possibly screwed. And you end up with some weird interactions in relation to libraries, such as a script might run just fine as long as another script hasn't ran on the same machine, etc. That said, writing mod_perl isn't all that bad as long as you are careful to do things which you probably should be doing normally, but don't have to. - Forrest W. Christian (forrestc@imach.com) AC7DE ---------------------------------------------------------------------- The Innovation Machine Ltd. P.O. Box 5749 http://www.imach.com/ Helena, MT 59604 Home of PacketFlux Technogies and BackupDNS.com (406)-442-6648 ---------------------------------------------------------------------- Protect your personal freedoms - visit http://www.lp.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106212241230.15645-100000>
