Probably because there's no CGI parameter called "check.whatever". You need to get rid of the dot, and then learn how variables interpolate in strings. Read perldata.
Comment on Re^2: showing the error ,Can't modify concatenation (.) or string in scalar assignment