in reply to Explaining

Short answer - it loads a file into an array.

Long answer, call it like this

my @lines; load_array(\@lines, "file_name"); # now do something with @lines.
As a point of principle the close FILE should have an or die clause attached...