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
Demonstrate subroutines in perl with a simple example.
What is the use of now constructor in perl?
Comment on the scope of variables in perl.
What are the purpose of close(), getc() and read() functions?
How to connect to SQL server through Perl?
What is the peculiarity of returning values by subroutines in perl?
How to turn on Perl warnings? Why is that important?
What are the various file operations in perl. Explain with example.
How to create a directory in perl?
Explain the internal working of cgi
what is Perl one liner?
What does last statement do in perl?
Explain what is the scalar data and scalar variables in Perl?
How will you access an element of a perl array?
How to read a directory in perl?