I am testing a simple database script. Each time a new record is added, a HTML file will be created.
open(Newfile, ">$base_dir/$number\.htm" || die "can't open file\n";
print newfile ".....";
close(newfile);
$number is a variable and is incremented each time a new record is added. I got error message "Insecure Dependency" and the new file is not created.
Does anyone know why this happens and what can I do to solve it?
Thanks!
Molly