|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Useless content call in void contextby Anonymous Monk |
| on May 08, 2012 at 11:08 UTC ( #969416=note: print w/ replies, xml ) | Need Help?? |
|
perl error messages are easy, just use splain But the problem with that error message, is it's a LWP error message, probably one you shouldn't ever see http://search.cpan.org/grep?cpanid=GAAS&release=HTTP-Message-6.03&string=void&i=1&n=1&C=0
which begs the question, why did you(our program) turn on global warnings, did you want to see that error message? What you should do, is don't turn on global warnings , don't use -W on the shebang line (see perlrun), or don't turn on $^W If you want warnings in your program use warnings; More on this in don't turn on warnings for code you did not write See also How do I post a question effectively?, Corion on how to report-a-bug, not to ask a question, ask question effectively
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||