what is the difference between require and use in perl?

Answer Posted / rani

use:
1-its compile time concept & refresh the namespace for
different package loading.

Require:
it is run time concept & does not refresh the namespace for
different package loading.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is perl shift array function?

711


Why to use perl?

706


What is a chop() function in perl?

766


In CPAN module, name an instance you use.

719


what are the steps involved in reading a cgi script on the server?

670


What are the various file operations in perl. Explain with example.

690


“Perl regular expressions match the longest string possible”. What is the name of this match?

714


What does redo statement do in perl?

759


Explain USE and REQUIREMENT statements?

712


How many types of variable in perl?

757


What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?

763


Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?

710


What are the steps involved in configuring a server using cgi programming?

658


Write a program to decode the data in the form using cgi programming

742


What does the qq{ } operator do?

707