Hello all,

Well, I have yet another question.  I have started turning on warnings
in my scripts, and get something like the following output when running
my script.

Name "main::opt_C" used only once: possible typo at ./cdma.pl line 42.
Name "main::mar_cdl_format" used only once: possible typo at ./cdma.pl
line 64.
Name "main::daily" used only once: possible typo at ./cdma.pl line 46.
Name "CDMAConfig::PDF_FILE_PATH" used only once: possible typo at
../cdma.pl line 54.
Name "main::date" used only once: possible typo at ./cdma.pl line 46.
Use of uninitialized value in numeric eq (==) at ./cdma.pl line 42.

1) How do I "fix" lines that say "used only once" or possible typo?  
Maybe at this point in my script I'm only going to use that variable
once, and not use it until 700+ lines into my code....How can I avoid
seeing these?

2) The reason I ask question 1 is because if I am to use the warnings to
fix problems and it keeps throwing up the first 50 or so warnings that
I"m aware of then quits because there are "too many warnings", how am I
to fix the ones that are really causing the problems.

I know there's some trick I haven't learned to coding with warnings and
"use strict" turned on.....any help is greatly appreciated.

Thanks,
Kevin


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

Reply via email to