in reply to creating variables in a loop
my @q; for (1..40) { $q[$_] = param("q$_"); } [download]
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.