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
“The methods defined in the parent class will always override the methods defined in the base class”. What does this statement means?
How to open and read data files with Perl
What is epoch time in perl?
What are the arguements we normally use for perl interpreter?
What rules must be followed by modules in perl.
Why is it hard to call this function: sub y { "because" } ?
What does read () command do?
How will you declare a variable in perl?
How to open a directory in perl?
Write an example explaining the use of symbol tables.
What does `$result = f() .. g()' really return?
how to get back up from private character editor which is saved in the format of .udf
Show the use of sockets for the server and client side of a conversation?
Why Perl aliases are considered to be faster than references?
What syntax is used for grep() function?