what is the difference between require and use in perl?
Answer Posted / jayakumar.b
use:
* Object Verification will happen @ Compile Time.
* File will have extention of .pm
* Module location will be set by @ISA Variable.
require:
* Object Verification will happen @ Run TIme.
* Method can be used from and .pm or .pl file.
* Absolute path to be given, if file located in different
dir.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Which operator in perl is used for the concatenation of two strings?
What does next statement do in perl?
How do find the length of an array?
How to read multi lines from a file in perl?
What are perl array functions?
How can arrays be tied?
Explain grooving and shortening of arrays and splicing of arrays?
Differentiate between arrays and list in perl.
Explain perl. When do you use perl for programming?
Elaborate on perl bite-wise operators.
What is v-strings?
Write an example explaining the use of symbol tables.
Explain 'grep' function.
In Perl, there are some arguments that are used frequently. What are that arguments and what do they mean?
Explain the internal working of cgi