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

Comment on data types and variables in perl.

517


List all the features of perl programming?

519


Explain the use of 'my' keyword in perl?

571


What are the advantages and disadvantages of perl language?

494


What are perl variables?

535






What is the use of strict?

552


What is the peculiarity of returning values by subroutines in perl?

496


How to create a directory in perl?

540


Explain subroutine in perl?

500


Differentiate between arrays and list in perl.

546


What is the usage of -i and 0s options?

560


Explain the difference between die and exit in perl?

448


How to print escaping characters inside a string in perl?

526


Explain chomp?

524


Explain chop?

546