| 1. |
What are the two distinct functions that allow Perl developers to include a module file or a Perl module, and how do they differ? |
|
Answer» There are two different functions Perl DEVELOPERS can USE to include a Perl module.
The syntax is: use Module_name;In case you have a module file as “math.pm”, the code will be: use math;
In case you have a module file as “math.pm”, the code will be: require math.pm; |
|