in reply to Returning a single record

So, what isn't working?

Maybe you should use CGI, strict and warnings in geturl.pl, too.