mojodaddy has asked for the wisdom of the Perl Monks concerning the following question:
Suffice to say that after great gnashing of teeth / rending of garments, etc. I succeeded in making the warning go away by reinstalling the entire LWP library!
Still, I'm baffled by the things I tried that didn't work, including:
Because I was under the impression that 'use warnings' was like an on-off switch. If it's on, you'll see warnings; otherwise not. And I liked that, because it meant I could file it under "things about perl I understand" and get back to figuring out the stuff I didn't (i.e. pretty much everything else). Only now I have to pull it out of the "things I understand" category and put it back in the "unfathomable mystery" category with all its friends! My learning curve, which has been like a straight vertical line for the past several weeks, has apparently toppled over backwards.
Can anyone shed a little light? One theory I have is that the message I was seeing wasn't a "warning" exactly; If not, what was it then? And why did reinstalling LWP make it go away? And why was I getting it in the first place when the HTML was OK? (I have perl 5.8.7 on a debian-based platform, in case it matters.)
Thanks all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Things I don't understand about 'use warnings'
by Fletch (Bishop) on Mar 27, 2007 at 23:35 UTC | |
by mojodaddy (Pilgrim) on Mar 28, 2007 at 09:25 UTC | |
|
Re: Things I don't understand about 'use warnings'
by friedo (Prior) on Mar 28, 2007 at 00:28 UTC |