monktim has asked for the wisdom of the Perl Monks concerning the following question:
The code runs fine but the warnings are bothersome. Should I just suppress the warning or am I doing something terribly wrong?Name "CFG::SERVER" used only once: possible typo at x.pl line 69.<br> Name "CFG::DB" used only once: possible typo at x.pl line 2097.<br> Name "CFG::USER" used only once: possible typo at ad.pl line 69.<br>
Thanks in advance.use strict; use warnings; require "cfg.pl"; require "db.pl"; my $dB = new DB($CFG'SERVER, $CFG'DB, $CFG'USER, 'DBPASSWD);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: used only once warning
by Ovid (Cardinal) on Sep 03, 2003 at 14:59 UTC | |
|
Re: used only once warning
by Abigail-II (Bishop) on Sep 03, 2003 at 15:06 UTC |