Hey,
I am getting these weird warnings when I use comparisons (of strings) and work on strings. my script wasn't working so I did a perl -w myscript.cgi and I get warnings of the type:
Use of uninitialized value in string eq at readdata.pm line 6.
where that line is
(from readdata.pm line 6)
if ($ENV{'REQUEST_METHOD'} eq 'GET')
and I also get this from a bunch of things, like ==, split, join etc ....
the #! is correct, any ideas?
I am getting these weird warnings when I use comparisons (of strings) and work on strings. my script wasn't working so I did a perl -w myscript.cgi and I get warnings of the type:
Use of uninitialized value in string eq at readdata.pm line 6.
where that line is
(from readdata.pm line 6)
if ($ENV{'REQUEST_METHOD'} eq 'GET')
and I also get this from a bunch of things, like ==, split, join etc ....
the #! is correct, any ideas?