Actually, the problem was that I was trying to do something like: foreach $parameter (params()) { $$parameter = params($parameter); }
When I couldn't get the list in, I did: foreach $parameter (params()) { if (ref(params($parameter)) eq "ARRAY") { @$parameter = params($parameter) } else { $$parameter = params($parameter) } } >From what I can tell, params(parameter) doesn't return a reference -- so I couldn't determine which parameters were multivalued. I've ended up doing if/elsif/else statements covering each of my known multivalued parameters -- but I'd like to do something like this if possible. Thanks! Matthew In article <[EMAIL PROTECTED]>, "Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote: > I am attempting to build a simple webmail application using the > Mail::IMAPClient module. > > I have made my message list a form, and beside each message is a > checkbox. At the bottom of the list are a number of radio buttons for > things such as "Mark as Read", "Delete", "Copy", and "Move". > > The checkboxes by each message all have the same name, msgID, but > different values (the UID of the message on the IMAP server). > > My problem is this: How do I grab the list of msgIDs from the > checkboxes? I've tried the following: > $msgID = param('msgID'); > but this returns only the first in the list (I was expecting a > comma-separated list) > > @msgID = param('msgID'); > but this returns nothing... > > I cannot use the $query->checkbox_group() format to generate the > checkboxes -- there's simply too much layout information I need to > display. > > Any ideas? > Matthew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]