Which functions in perl allows you to include a module file.



Which functions in perl allows you to include a module file...

Answer / Prashant Mudgal

In Perl, there are two primary functions used to include or load a module file. They are 'use' and 'require'. The 'use' function is recommended because it performs both the task of loading the module as well as setting up any prerequisites that the module might have. On the other hand, 'require' only loads the module.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

Write an example explaining the use of symbol tables.

1 Answers  


Comment on data types and variables in perl.

1 Answers  


How to change a directory in perl?

1 Answers  


What is the different between array and hash in perl programming?

1 Answers  


How do I do fill_in_the_blank for each file in a directory?

1 Answers  


Explain join function in perl?

1 Answers  


write a script to check whether user enter a value is a leap year or not?

3 Answers   Oracle, Persistent, ViPrak,


How to make the following assignment, as arrayreference assignment ? my $arr_ref='[1,2,3,4,4,'elem']';

2 Answers  


Explain the different types of data perl can handle.

1 Answers  


What is perl unshift array function?

1 Answers  


Explain the difference between use and require?

5 Answers   Aspire,


Explain the difference between die and exit in perl?

1 Answers  


Categories