http://www.perlmonks.org?node_id=888291


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.