in reply to print if warn

Your problem here is that whatever variable that you're using in the match or conditional is not defined because you fail to initialize it will some data (any data). You will want to study your code (or post it here) to figure out where the mishap is occurring.

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.

my $str; if ($str eq "") { print "str is null\n"; } else { print "str is not null\n"; }
Will issue one of these "uninitialized" errors.

metadoktor

"The doktor is in."