filmo has asked for the wisdom of the Perl Monks concerning the following question:
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, so I know the param exists and has data in it. However, I need for this routine to be variable instead of fixed. I'm sure I must be missing something simple Thanks in advance. -- Filmo the Klownsub Handle_Media { my $name = shift; my @Files = $q->param("$name_files"); my @Delete = $q->param("$name_DEL"); more code here...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Expanding variables inside the CGI module
by mirod (Canon) on Mar 03, 2001 at 13:40 UTC | |
|
Re: Expanding variables inside the CGI module
by mr.nick (Chaplain) on Mar 03, 2001 at 20:53 UTC | |
by filmo (Scribe) on Mar 04, 2001 at 01:12 UTC | |
|
(boo) Re: Expanding variables inside the CGI module
by boo_radley (Parson) on Mar 03, 2001 at 20:37 UTC |