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
Explain arrays in perl.
Explain ivalue?
How to determine strings length in perl?
How do I read command-line arguments with Perl?
What is the closure in PERL?
How to convert strings into an array in perl?
In Perl, what is grep function used for?
Which has the highest precedence, List or Terms? Explain?
Explain gmtime() function in perl?
How to copy a file in perl?
What are the advantages of programming in perl?
What does next statement do in perl?
Explain split function in perl?
Who created perl?
Which functions in perl allows you to include a module file. State their differences.