On 2/27/06, Graeme McLaren <[EMAIL PROTECTED]> wrote: > elsif ($q->param("delete_aoc$number.x")){ > return "Delete AOC $number";
You could do this sort of thing in a loop, such as a 'foreach' loop. Have you tried writing it that way? Of course, you still have to call the 'param' method once each time through the loop, until it returns a true value. Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>