He should be doing 3 arg open and would be best if he change that file handle to a var. Just some best practices.
use warnings; use strict; my $type = 123; my $FH; open ($FH, '>', 'out.txt'); print $FH ("start" . $type . "end"); close $FH;
In reply to Re^2: Console output != file output
by perlaintdead
in thread Console output != file output
by mkk82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |