Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Including files or modules - English

4049 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.