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 about typeglobs?
Explain chomp?
What does delete function do in perl?
How can you create anonymous subroutines?
What syntax is used for grep() function?
What does localtime() do in perl?
Remove the duplicate data from @array=(“perl”,”php”,”perl”,”asp”)
What does the’$_’ symbol mean?
What is cpan in perl?
What are the various advantages and disadvantages of perl?
What is perl shift array function?
You want to open and read data files with perl. How would you do that?
What is posix in perl?
How will you access an element of a perl array?
Why should I use the -w argument with my Perl programs?