Help for this page
# read info # and then we are ready to build our filename ... $filename="myfile_".$time.".txt"; # (and then just print using $filename)
$time = scalar localtime; $time =~ tr/ /_/; #get rid of the spaces; $filename = "myfile-".$time.".txt";