Posted on 2005-08-16 20:21:18-07 by randomhajile in response to 899
Re: Changing the request hostname in GET and POST
Stupid, stupid, stupid (not you)...I got it. I had tried that, but I got an error message. Well, I went back and tried it again, and realized that I was doing $message->uri =~ s/replacethis/withthis/; rather than $message->uri($settothisvariable);. Duh. I used eg/logger.pl as a starting point. uri() is an accessor method, not an lvalue. Plus, IE sucks and it was caching the image once I got it working...even with a shift-refresh. Generally I use Firefox, but I didn't want to mess it up while I was working on something. I think that will do it. Thanks for the quick response and such.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.