http://qs1969.pair.com?node_id=432925


in reply to Forcing a returned array (wantarray?)

the idea of wantarray is a little bit different.
e.g. a subroutine is using it to determ if the caller wants an array or a scalar
sub foo { return wantarray ? @_ : "@_"; } my @bar = foo(1, 2, 3); # @bar = (1, 2, 3); my $bar = foo(1, 2, 3); # $bar = "1 2 3"
but
my @tmp = $this->{'ApacheRequest'}->param( "checkbox_field");
should do what you want