Thanks for the document.
When I run my code (with variables defined) I am able to open a new file, but instead of it closing and then a second file being created, the dumby data is appended to the original single file. Is that because I'm using
open(OUTPUT_FILE, ">>$verifile")||die "Can't open file: $!";