filmo has asked for the wisdom of the Perl Monks concerning the following question:

All right, (a) I'm new at this. Nuff said. (b) I've looked in the CGI pod but didn't see an explaination. So, the question. I'm trying to expand a variable inside of a "param" call.
sub Handle_Media { my $name = shift; my @Files = $q->param("$name_files"); my @Delete = $q->param("$name_DEL"); more code here...
Thus, if I pass "LIBRARY" to the subroutine, I want to get all the values that are in the "LIBRARY_files" param and in the "LIBRARY_DEL" param. If I simply put
my @Files = $q->param("LIBRARY_files");
I get the list like I expected. However, I need for this to be variable instead of fixed. I'm sure I must be missing something simple Thanks in advance. -- Filmo the Klown

Originally posted as a Categorized Question.