in reply to Re^2: printing to filehandles
in thread printing to filehandles

It's quite possible that this is related to something outside of perl, hence the suggestion to check the $! error string:
open(FH, '>', $outfile) or die "can't open $outfile: $!";
This should tell you more about what's going on.

Replies are listed 'Best First'.
Re^4: printing to filehandles
by rvosa (Curate) on Sep 02, 2005 at 09:56 UTC
    Also, I'm getting:
    syntax error at forex.pl line 37, near ")}" Unmatched right curly bracket at forex.pl line 62, at end of line syntax error at forex.pl line 62, near "}" Execution of forex.pl aborted due to compilation errors.
    with your code.