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 the difference between "my" and "local" variable scope declarations. ?
You want to download the contents of a url with perl. How would you do that?
what is Chop & Chomp function does?
How many types of operators are used in the Perl?
How will you open a file in a write-only mode in perl?
Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?
What are the options that can be used to avoid logic errors in perl?
Explain the internal working of cgi
What is the use of –w?
Write an example explaining the use of symbol tables.
What is cpan ? What are the modules coming under this?
How to convert arrays into a string in perl?
There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"
What are scalars in perl?
Why -w argument is used with perl programs?