Hi I've searched a large portion of the website without being able to find and answer to this. I've tried numerous attmepts at trying to create a file using a variable with no success. This is my latest attempt
$filename = "$timestamp.txt";
open (NEWFILE, ">$filename");
where the variable $timestamp is defined earlier in my code
i've also tried directly creating it with no success
open (NEWFILE, ">$timestamp.txt");
i need the .txt to be at the ext for the filename
any help will be greatly appreciated