in reply to print if warn
Basically, the variable is undefined (not set to any value) and so you get the error.
For instance the following code would produce this error.
Will issue one of these "uninitialized" errors.my $str; if ($str eq "") { print "str is null\n"; } else { print "str is not null\n"; }
metadoktor
"The doktor is in."
|
|---|