in reply to CGI not catching parameters?
You are mixing URL parameters and POST parameters. That's a little funky, though common. See the section of the CGI.pm documentation titled "MIXING POST AND URL PARAMETERS". The short answer is that you'll have to get your 'dataname' via url_param() instead of the usual param().