Help for this page
use Tie::File; tie my @file, 'Tie::File', 'file.txt' or die $!; ... push @file, 'new data'; ... untie @file;