my @ids = split (/, +/, $INPUT{'checked_ids'}); # now check @ids w/grep() using the method above