in reply to Re^6: Using File::DosGlob::glob in loop only works first time
in thread Using File::DosGlob::glob in loop only works first time

Like I said originally, no glue necessary, just:
# From DB $template_file = "C:/Program Files/DirDictate/soap_form/soap_final.dot +"; unless ( -f $template_file ) { ... }
If you got that from the command line, still no glue necessary:
# Called as: # perl script.pl "C:/Program Files/DirDictate/soap_form/soap_final.d +ot" $template_file = $ARGV[0]; unless ( -f $template_file ) { ... }