in reply to TK filehandle path
Also, when you create_file() you should check the open
sub create_file{ open (MYFILE, ">$output_directory/token.txt") or die "$!\n"; print MYFILE "ciao"; close (MYFILE); }
I get "no such file or directory". It would also help if you made a self-contained fully running example.
|
|---|