title: Correct way to access config files for DBI connection from CGI script Perl
body: <p>Hi I am relativley new to Perl and DBI programming, and just started learning CGI. I want to access a Mysql databases via a perl cgi script but I dont want to store the configuration variables (username , password etc ) in the actual script in the cgi-bin. I can use a <code>require '/path/to/configfile.pl'</code> statement but only without using <code>use strict</code>, which I dont like. 
    I am hoping someone can tell me what is the correct and safe way for including
  config files in this specific situation.</p>