http://qs321.pair.com?node_id=216449


in reply to weird files

Set the  $/ variable to "paragraph" mode and then just read the file to your array:

$/ = ""; my @file = <FILE>;