The optional fifth argument is a pointer to an associative array relating the checkbox values to the user-visible labels that will be printed next to them (-labels). #### a pointer to an associative array relating the checkbox values to the user-visible labels #### my %checkbox_items = ( a => 'BillJ may have been assigned as trustee to the security object which gives him supervisor rights over all NDS objects', b => 'BillJ may be wearing pink pyjamas when he comes round the mountain', c => 'BillJ may be the first man to orbit Mars on a unicycle', d => 'BillJ may be just another Perl hacker', ); #### my @checkbox_values = keys %checkbox_items; #### print start_html, checkbox_group( -name => 'testing', -values => \@checkbox_values, -linebreak => 1, -labels => \%checkbox_items, ), #### BillJ may have been assigned as trustee to the security object which gives him supervisor rights over all NDS objects
BillJ may be wearing pink pyjamas when he comes round the mountain
BillJ may be the first man to orbit Mars on a unicycle
BillJ may be just another Perl hacker