in reply to weird files
Set the $/ variable to "paragraph" mode and then just read the file to your array:
$/ = ""; my @file = <FILE>; [download]