I'm new to Perl programming, but I want to write a cgi script that creates a file based on the user's form input. The file name will be assigned by the variable $computer which is taken from the form input.
$file = "data/$computer.txt";
If you entered cheese, $file should be equal to data/cheese.txt Unfortunately, no matter what happens, $file is equal to data/$computer.txt - literally.
How do i fix this?