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
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
what is the function that is used to identify how many characters are there in a string?
What is -> symbol in perl?
You want to connect to sql server through perl. How would you do that?
Explain the difference between die and exit in perl?
What are the different types of perl operators?
Differentiate between arrays and list in perl.
Demonstrate subroutines in perl with a simple example.
What is the use of –w?
What does last statement do in perl?
How to check the status of airplane mode (enable/disable) in perl for Android mobile?
How to convert arrays into a string in perl?
How does polymorphism work in perl?
What does the qq{ } operator do?
How will you declare a variable in perl?