Hi, I have been using embperl a few weeks.  I created a trip organizing site for a 
sports club that I'm in (http://tonquil.homeip.net:888/~dlenski/roadtrip).

I am trying to clean up the code and I had a few questions:
(1) what's the best place to store DB username/password?  right now I have it 
hardcoded into the perl code and this is both unmaintainable and a security hazard I 
think.  I was thinking maybe each html file should start off with [- require 
'global.pl' -] or something like that to get information that all the scripts use 
collectively.  Maybe there's a better way?
(2) what's the preferred way to do persistent database connections?  there seem to be 
many modules for that.

Thanks for your help.  I love Embperl, by the way, it is so much better than plain old 
cgi scripts :-)

Dan


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

Reply via email to