
filmo
Deleted
Mar 3, 2001, 12:02 AM
Post #1 of 2
(252 views)
|
expanding a variable inside of a CGI param call
|
Can't Post
|
|
I'm trying to design a subroutine that will allow me to pass variables to the $q->param() routine within the CGI module. here's my code so far.
sub Handle_Media { my $name = shift; @Files = $q->param("$name_files"); @Delete = $q->param("$name_DEL"); more code here ... If for example I passed "LIBRARY" to the subroutine, I want it to load into @Files all the values of the param "LIBRARY_files". I've checked that the values are being passed, so I know that's not the problem. How do I get it so @Files will be the values of the param named "$name_files"??? Thanks -- Filmo the Klown
|