All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Please Log In to Continue

If I follow what you mean, here are two things that could come in handy. First, CGI::param() returns a list of the form parameter names, if you pass it no arguments. Combine that with a grep, and you can pick out all parameters that begin with 'card_', for example.

Of course, if you give the same name to all of the checkboxes in a group, you can call CGI::param() with the name and assign the results to an array. That'll give you all the values.