in reply to Uninitialized value in string warnings (was: Warnings:)
you may need to comment out use strict; and remove the '-w' flag. What diagnostics does is give you a discription of what may be the problem.use diagnostics;
Or you could put your potentialy uninitialied variable into a safe state after it is defined and before use eg.$a=""; $b=""; $c="";
$b = defined($b)?$b:"";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Warnings:
by Anonymous Monk on Jun 08, 2002 at 08:55 UTC |