Help for this page
my $filename = <STDIN>;
chomp $filename; # remove trailing newline character
open my $handle, '>', $filename;
# ^ if you want to write to that file
open my $handle, '<', 'yourfile.txt';
chomp $line; # remove trailing newline
# do something with $line here.
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 (534 votes). Check out past polls.