Help for this page
use strict; use warnings;
use strict; use warnings; ... open (FILE, ">test.data") or die "open 2: $!"; print FILE $_ foreach (@file_contents); close (FILE);