Hello,
I'm using LWP to access urls for the past twelve months, so I want to automate the script so that is it will hit months 1-12. The problem appears to be in the single quote (') that is encasing my url string.
my $url=" 'http://mysite.com/refers$month02.html';
I get this error:
404 Not Found
The requested URL /refers$month02.html was not found on this server
This makes sense, since the single quotes will make the $month variable part of the string.
If I change the statement to:
my $url= ""http://mysite.com/refers$month02.html";
Using double quotes. I get this error:
404 Not Found
The requested URL /refers.html was not found on this server
This doesn't make sense, since the double quotes should allow the variable $month to represent its current value. It's also taking out the 02.
What am I missing. This shouldn't be difficult.
Thanks in advance,
Mark
This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any review, use, disclosure or distribution by persons or entities other than the intended recipient(s) is prohibited. If you are not the intended recipient, please contact the sender by reply and destroy all copies of the original message.
Thank you.
WordWave, Capturing the Power of the Spoken Word
http://www.wordwave.com