Q&A > files > How do I delete/modify one line from test file ? - Answer contributed by devslashneil
my $filename = 'foo.dat';
tie @array, 'Tie::File', $filename or die "Cannot open $filename\n";
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (293 votes). Check out past polls.