You are viewing Revision 1 of APIs_FileToString

This page is registered as a special page, however you are viewing a previous revision of the page. As such, the special page function will not be triggered.

Subroutine Name

FileToString

Explanation and Usage

This subroutine reads a file in to a string variable.

Syntax

FileToString(FileName)

Options

FileName - The file you are trying to retrieve, including the full path.

Examples

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.