Including files or modules - English

652 visits


Including Files or modules in Perl program We can include the Perl modules or files by using the following methods. 1. do: It includes the source code from other files into the current script file. 2. use: It includes Perl module files only. Files get included before the actual execution of the code. 3. require: It includes both Perl programs and modules.