jk jk wrote: [..]
my $r = shift;
One of the brighter lights on this list correct me if I'm wrong, but I think there's some basic confusion here.
This is a cgi-bin script, it is not an Apache/mod_perl module executed as a mod_perl handler.
Thus it does not get a "request object" as argument.Thus I'm not quite sure what the result of the above statement is, but probably not what you expect.