open FILE, "< $somefile" or die "Cannot open $somefile for reading: $!"; chomp( my @file_data = ); close FILE or die $!;