silent11 has asked for the wisdom of the Perl Monks concerning the following question:
package DB; use strict; use DBI; sub connect { my $db_name = "xxx"; my $host_name = "xxx"; my $user_name = "xxxxxx"; my $password = "xxxx"; my $dsn = "DBI:mysql:host=$host_name;database=$db_name"; return (DBI->connect ($dsn, $user_name, $password, { PrintError => 0, RaiseError => 1})); } 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: directory and file access for modules containing sensitive information
by idsfa (Vicar) on Jul 28, 2004 at 16:07 UTC | |
|
Re: directory and file access for modules containing sensitive information
by bigmacbear (Monk) on Jul 28, 2004 at 15:49 UTC |