Answer Posted / kuldip singh behal
doing make test and doing install <mod name> is only
possible if you are a root user or a trusted su user,
otherwise it is not at all possible to install the module in
perl.
but if you want to use that module without actually
installing it, it is possible. first download the tar file
of the module from the CPAN then untar the file in your
desired directory then see that where the .pm file lies copy
that .pm file to your desired location. now you have to see
whether that module is further using any module or not if
not then it is fine but if then you have to do the entire
process for the new module and provide the customized path
to the first module in the use or require, include the
desired pm file as using require lib or pushing the pm at
@INC manually.
push @INC <path to module>;
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain chomp?
What are the two ways to get private values inside a subroutine?
What is perl pop array function?
How can you create anonymous subroutines?
What's the difference between /^Foo/s and /^Foo/?
Explain goto expr?
What is the easiest way to download the contents of a URL with Perl?
How to connect with sqlserver from perl and how to display database table info?
How can arrays be tied?
what is the main function of fork() in cgi programming?
what is the function of Return Value?
When do you use perl programming?
Explain different types of perl operators.
Explain the meaning of closure in perl.
Does Perl have reference type?