Answer Posted / guest
If we are trying to add a module or library files in our
program using require or use statement then it will search
that module or library files in the Perl's default search path.
The statement use lib is used to add the directories to
default search path.
So if the module or library file is not located in the
Perl's default search path then it will find the library
files in the path we have given with the use lib $path.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Differentiate use and require?
what are the strategies followed for multiple form interaction in cgi programs?
What is it meants by '$_'?
How do I pass a command line argument in perl?
Comment on the scope of variables in perl.
What does file test operators do in perl?
what is Chop & Chomp function does?
Can inheritance be used in perl? Explain with the help of an example.
How to implement a stack in Perl?
Can we load binary extension dynamically?
What are the different instances used in cgi overhead?
List the prefix dereferencer in Perl.
Explain about typeglobs?
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
Enlist the advantages of using c over perl?