Perl Language Executing the contents of another file


Example

do './config.pl';

This will read in the contents of the config.pl file and execute it. (See also: perldoc -f do.)

N.B.: Avoid do unless golfing or something as there is no error checking. For including library modules, use require or use.