On Wed, 08 Sep 2010 15:52:10 +0100, h.da...@sms.ed.ac.uk (Hina Dalal) wrote:
> >Hi There > >I am trying to install WWW::Search module as its a pre requisite for =20 >WWW::Search::NCBI::PubMed module. > >But When I try to run my program, its giving me the following error: > >Use of uninitialized value in numeric le (<=3D) at =20 >C:/Perl/site/lib/WWW/Search.pm >line 1229. Hello Hina, This is more of a warning than an error, so it shouldn't inhibit the use of the module. The warnings are coming from lines like this, which check the debug level that is set in the constructor: if (50 <= $self->{_debug}) Full source for the latest version is here if you wish to investigate yourself: http://cpansearch.perl.org/src/MTHURN/WWW-Search-2.508/lib/WWW/Search.pm The error message is a bit odd, since _debug is set to 0 in the constructor. Could you please post which version of WWW:Search you are using? Also, could you try explicitly setting _debug to 0 in your constructor to see if the warning goes away? Thanks, David Solimano