esharris has asked for the wisdom of the Perl Monks concerning the following question:
Unfortunately, the preceding code prints the following.#!/usr/bin/perl -w use strict; use CGI; CGI::param(-name => 'xxx', -value => [1,2,3]); print join(',', CGI::param(-name => 'xxx'))."\n"; CGI::param(-name => 'xxx', -value => []); print join(',', CGI::param(-name => 'xxx'))."\n";
1,2,3 1,2,3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Clearing multi-valued parameters using CGI.pm
by wfsp (Abbot) on Jan 26, 2006 at 15:48 UTC | |
by esharris (Monk) on Mar 03, 2006 at 16:18 UTC | |
|
Re: Clearing multi-valued parameters using CGI.pm
by chargrill (Parson) on Jan 26, 2006 at 15:37 UTC |