in reply to How do I pass a sequence of variable names to a subroutine one at a time?
# just change these to get $query->param("something"); my $c1 = "foo"; my $c2 = "fee"; my $c3 = "fuu"; doThis($c1, $c2, $c3); sub doThis { foreach (@_ ) { print; } }
|
|---|