Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 4819
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: LDS [...] cpan.org
Requestors: tjharrel [...] eagle.fgcu.edu
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Documentation error in "CREATING AN OPTION GROUP"
The line: -values ['moe','catch'], Should be: -values=>['moe','catch'], This is found in the documentation under the heading, "CREATING AN OPTION GROUP" Quote: print $query->popup_menu(-name=>'menu_name', -values=>[qw/eenie meenie minie/, $q->optgroup(-name=>'optgroup_name', -values ['moe','catch'], -attributes=>{'catch'=>{'class'=>'red'}}), -labels=>{'eenie'=>'one', 'meenie'=>'two', 'minie'=>'three'}, -default=>'meenie');