in reply to Answer: How do I write to a file?in thread files
#I think you meant either
open INPUT, "myfile.txt" or die "Cannot open file: $!";
(open INPUT, "myfile.txt") || die "Cannot open file: $!";
#"myfile.txt" || die "Cannot open file: $!" is always true
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (507 votes). Check out past polls.