in reply to How do you open a file when using strict?
You absolutely can open a file for writing when use strict is on effect. Try the following code to prove it:
#! /usr/bin/perl use strict ; use warnings ; $|++ ; open OUT, '>out.txt' or die "Couldn't open the file: $!" ; print OUT "Hello, World!\n" ; close OUT ; exit ; __END__
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
--Friedrich Nietzsche
|
|---|