Challenge the talent inside you, participate in Animate 2024!     Click here for details.

Including files or modules - English

2708 visits



Outline:

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.