in reply to Populating a CGI scrolling list from a database
As per the docs, the values argument should be an array reference, i.e. in your case
... print scrolling_list(-name => 'cboProj', -values => $doclist);
Update: though, if @$doclist isn't a flat list of names (as moritz points out), this won't work either... My apologies, spoke too soon — just ignore my post.
|
---|
In Section
Seekers of Perl Wisdom