in reply to Expanding variables inside the CGI module

I think your problem is that $name_files is interpreted as the name of a variable. You need to use either "$name\_files" or "${name}_files" or $name . '_files' so that the Perl interpreter knows what's part of the variable name and what's a string.

If you had used use strict as you should _ALWAYS_ do, you would have gotten an error as the $name_files variable does not exist.

  • Comment on Re: Expanding variables inside the CGI module