Google News
logo
Perl - Interview Questions
What is the difference between use and require in Perl?
Use : It is used only for the Perl modules. The included modules are verified at the time of compilation. It does not need the file extension.
 
Require : It is used for both Perl modules and libraries. The included objects are verified at runtime. It does need the file extension.
Advertisement