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.
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (394 votes). Check out past polls.