-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jun 17, 2004, at 9:47 PM, Goehring, Chuck Mr., RCI - San Diego wrote:
Here is a simple cgi program that runs under registry. It uses CGI.pm and the Oracle modules. It would probably run without mod_perl if I just changed "use Apache::DBI();" to "use DBI();". This is one of those modules that has a "special" version for mod_perl.
Whoa, let's not start any nasty rumors here!
As long as you place "use Apache::DBI" in your startup.pl file (or get it sourced any other way before DBI is sourced), you can just use regular "use DBI" everywhere else and you'll still get the speed benefit.
If running under Apache::Registry, it makes sense to do so, in case you're ever down on your luck and need to go back to true CGI execution.
- - -- - -- Tom Mornini - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFA0lYPzaKkuvKwKvcRAifJAKCq6mWuuJwlS679fccvNzVbOyYBFACfT8OB g72x0e009joh6/oLRcisfUk= =rmRg - -----END PGP SIGNATURE-----
- -- - -- Tom Mornini
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFA0luazaKkuvKwKvcRAmMoAJwK93LL6XI2fOhxTN9CBLWcH7ydqgCeJ16x uiK/2oeh61CJ+lnQJ653gPA= =Gk/Q -----END PGP SIGNATURE-----
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html