in reply to Re^2: Params in CGI
in thread Params in CGI

my @checked = grep { param($_) eq 'ON' } param();

Replies are listed 'Best First'.
Re^4: Params in CGI
by Anonymous Monk on Nov 21, 2008 at 03:10 UTC
    That assumes the value(s) are "ON", but they could be anything (and other variables could have same value).