|
I felt it worth mentioning more errors with Kip's article:
1) This month's source code link is broken.
2) The code in the cgi script 'stylechooser' has an error concerning the CGI method 'url' based on the regex he used. It should read:
$context{REQUEST} = $q->url(-path=>1,-relative=>1);
The addition of -relative=>1 gets the relative path. Otherwise one gets the absolute URL in which case the regex s/^$gateway_name\/?// doesn't work.
Another option is to not add -relative=>1, but rather change the regex to:
s/^.*$gateway_name\/?//
I really like the article, but the quality control on the code and links is lacking. In part I'm grateful for the mistakes because it forced me to deepen my understanding of the situation, but I feel the pain of the frustrated reader.
Further, I could find no email to contact the author and address these issues. Too bad!
- hunter
|