sub EVALFILE

Documentation for sub EVALFILE assembled from the following types:

language documentation Independent routines

From Independent routines

(Independent routines) sub EVALFILE

Defined as:

sub EVALFILE($filename where Blob|Cool:$lang = 'perl6')

Slurps the specified file and evaluates it. Behaves the same way as EVAL with regard to Blob decoding, scoping, and the $lang parameter. Evaluates to the value produced by the final statement in the file.

EVALFILE "foo.p6";