Why we use "use lib $path"?
Answer / 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 |
What are the various uses of perl?
what r the different type of function in perl ???
What is a perl references?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
What do the symbols $ @ and % mean when prefixing a variable?
Why should I use the -w argument with my Perl programs?
write a perl script to find whether a given line of text is starting and ending with same word or not ???
Differentiate between c++ and perl.
Is perl compiler or interpreter?
Explain goto label?
What is stdin in perl?
What is the function of cgiwrap in cgi programming?