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
Explain what is lvalue?
What is stdin in perl?
How to concatenate strings with perl?
You want to empty an array. How would you do that?
What interface used in PERL to connect to database? How do you connect to database in Perl?
What are the advantages of perl programming?
What are the different ways to run cgi?
Where do we require ‘chomp’ and what does it mean?
“Perl regular expressions match the longest string possible”. What is the name of this match?
how to get back up from private character editor which is saved in the format of .udf
What is the syntax used in Perl grep function?
“The methods defined in the parent class will always override the methods defined in the base class”. What does this statement means?
Distinguish my and local?
What is the difference between localtime() and gmtime() functions?
Explain perl. When do you use perl for programming? What are the advantages of programming in perl?