Can't call method "unescape" on an undefined value

I’m getting this error message

Can’t call method “unescape” on an undefined value at
/usr/lib/perl5/5.6.1/CGI.pm line 112

I Have seen it posted in the list before, But haven’t seen a resolution .
Does anyone have any ideas?