I am not sure if this is documented as I open the file in read-mode
From open (emphasis mine):
As a special case the three-argument form with a read/write mode and the third argument being undef:opens a filehandle to a newly created empty anonymous temporary file. (This happens under any mode, which makes +> the only useful and sensible mode to use.)open(my $tmp, "+>", undef) or die ...
In reply to Re^3: open undef
by haukex
in thread open undef
by morgon
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |