Explain the difference between use and require?
Answer Posted / kush
Use :
1. The method is used only for the modules(only to include
.pm type file)
2. The included objects are varified at the time of compilation.
3. No Need to give file extension.
Require:
1. The method is used for both libraries and modules.
2. The included objects are varified at the run time.
3. Need to give file Extension.
Is This Answer Correct ? | 38 Yes | 6 No |
Post New Answer View All Answers
What is perl programming?
Explain tk?
What does the’$_’ symbol mean?
Remove the duplicate data from @array=(“perl”,”php”,”perl”,”asp”)
What is use of ‘->’ symbol?
how to extract pin_code,phone_number,year from text file using regular expressions in perl
Explain ivalue?
How do you you check the return code of a command in perl?
How interpreter is used in perl?
What does the q{ } operator do?
What is the main function of cookie server?
How do you give functions private variables that retain their values between calls?
Elaborate on perl bite-wise operators.
List the prefix dereferencer in Perl.
How to code in perl to implement the tail function in unix?