[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] CGI scrolling_list



On Fri, Mar 31, 2000 at 03:55:31PM -0800, Mike Schienle wrote:
> The first and probably very related question is about the ambiguous
> use statement mentioned in the output (and in the "Check Syntax"
> step).

This warning has been fixed in more recent versions of Perl; that usage
really isn't ambiguous.  In perl5.004, you shoulduse single quotes
(-'values'=>...) to silence the warning.


> The next question is how can I put the @city array into the
> scrolling_list command? Everything I've tried has met with no success.

print scrolling_list(-name=>'mapList', -'values'=>["test1", "test2", @city],
      -size=>8, -multiple=>'true');

Ronald


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org