FileToString
This subroutine reads a file in to a string variable. It internally calls FileToArray, and returns the array joined by "\n".
FileToString(FileName)
FileName - The file you are trying to retrieve, including the full path.
These are actual examples from the Aneuch source code:
my $blocked = FileToString($BlockedList);
In this example, the $BlockedList file is read in and returned to the variable $blocked.