laziness, impatience, and hubris | |
PerlMonks |
Re: url rewriter?by moritz (Cardinal) |
on Sep 08, 2009 at 18:54 UTC ( [id://794197]=note: print w/replies, xml ) | Need Help?? |
First of all you should really store $Request->ServerVariables("SERVER_NAME")->item() in a temporary variable; all that repetition makes your code really hard to read.
Then I'm confused that you are talking about redirects in your text, but your code actually appends something that looks vaguely like HTML to a string. How are the two related? And what do you expect as a return value? What did the working code do in such a case?
Perl 6 - links to (nearly) everything that is Perl 6.
In Section
Seekers of Perl Wisdom
|
|