http://qs1969.pair.com?node_id=1213793


in reply to Perl CGI.PM: Use of uninitialized value $vals

Something like this will do it (note the "-w" which I suppose you are using too):

#!/usr/bin/perl -w use CGI; CGI->STORE ('foo', undef);

So you can trigger this by passing an undefined parameter value to STORE() but only with "-w". Use warnings instead if you don't want to see it.