When I attempt to run your code, I get:
as the text directory name 'result_dir' is being divided by the scalar $OUTFILE_fname.Illegal division by zero at neversaint.pl line 7
Using use strict gives a 'bareword' error.
--------------------------------------------------------------
"If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
John Brunner, "The Shockwave Rider".
In reply to Re: Howto direct an output filehandle into directory?
by g0n
in thread Howto direct an output filehandle into directory?
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |