in reply to Many strings make one variable?
Yes, it is possible but it is very rarely a good idea. Here's how to do it:
$temp = ${$var1 . $var2};
In your case, it would probably be better to use a hash or maybe even a hash of hashes. Doing it the way you are trying to could be downright dangerous in a CGI environment. You should be using -T to turn on tainting and remind you to carefully validate user input. (I'm assuming you mean file names rather than file handles because it is unlikely that you would need to have a bunch of file handles available if the user is only choosing one.)
-sauoq "My two cents aren't worth a dime.";
|
|---|