Maybe you should use CGI, strict and warnings in geturl.pl, too.
In reply to Re: Returning a single record by Joost in thread Returning a single record by Doyle