in reply to Separating 'real' errors from ..err.. 'unreal'?
You are getting those warnings (not errors) because you are trying to use uninitialized variables. To avoid them, check if the variable is defined before using it, for example with:
$var =~ s/foo/bar/ if (defined $var);
Hope this helps
citromatik
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Separating 'real' errors from ..err.. 'unreal'?
by ethrbunny (Monk) on Jul 13, 2007 at 14:13 UTC |