Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
LWP and barewords under strictby Bukowski (Deacon) |
on Jul 09, 2002 at 13:54 UTC ( [id://180474]=perlquestion: print w/replies, xml ) | Need Help?? |
Bukowski has asked for the wisdom of the Perl Monks concerning the following question:
Hello PerlMonks!
I have some broken code here, that is perplexing me. I am using LWP::UserAgent to pull information off of a website. I have had no problem with this until I wrote the following bit of (broken) code: The problem is that if I paste the relevant command into a browser - everything is fine, but I've broken it down for an LWP request. Attempting to run this leads to the following:
Even to me this obviously means LWP doesn't much like the '.' in the LWP request. I've tried to escape them, quote them (double and single), but to be honest I don't see why it should be a big issue (except the program returns the wrong data obviously :P) Any ideas? As always the help is greatly appreciated
Bukowski - aka Dan (dcs@black.hole-in-the.net)
Back to
Seekers of Perl Wisdom
|
|