Documentation for sub EVALFILE

Documentation for sub EVALFILE, assembled from the following types:

class Cool

From Cool

(Cool) routine EVALFILE

Defined as:

sub EVALFILE(Cool $filename:$lang = { ... })

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

EVALFILE "foo.p6";