in reply to Howto direct an output filehandle into directory?
Hi,
There is a little typos in your code
open ( OUTFILE, '>', result_dir/$OUTFILE_fname ) [download]
should be
open ( OUTFILE, '>', "result_dir/" . $OUTFILE_fname ) [download]
RegardsFranklin