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 chomp, chop, cpan, tk.
You want to open and read data files with perl. How would you do that?
What does read () command do?
Explain what is the scalar data and scalar variables in Perl?
Explain perl one-liner?
What are the benefits of perl in using it as a web-based application?
What is the syntax used in Perl grep function?
When does circular reference occur?
What exactly is grooving and shortening of the array?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
How do you set environment variables in perl?
Define perl scripting?
How to concatenate strings in perl?
How to read a single line from a file in perl?
If you want to empty an array then how would you do that?