in reply to Populating an array
$/ = "\n\n"; # Sets the input record separator to two newlines my @array = <FILE>; # Put the file in an array $/ = "\n"; # Sets the input record separator to one newline (the defau +lt) [download]