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
What is perl unshift array function?
Explain subroutine?
What package you use to create a windows services?
What is the peculiarity of returning values by subroutines in perl?
What does init 5 and init 0 do?
what is perl language?
how to connect cisco switch uisng perl script
Explain the execution of a program in perl.
Explain which feature of PERL provides code reusability?
How to access parameters passed to a subroutine in perl?
What is q (single q) operator in perl?
How will you open a file in a write-only mode in perl?
how to create a flat file database as shown below s.no name age city phone 0 hema 22 Calcutta 4312542 1 hema 21 Bangalore 2344345 2 ganesh 25 delhi 2445454 3 kartik 45 pune 4312121 4 santosh 25 Hyderabad 2254231 5 kumar 25 mysore 2344567 6 gita 34 mangalore 6532123 7 gita 32 pune 2213456 Q1.print the details of the person who r from bangalore q2.Replace the city name managlore to pune q3.prints no of person having name gita and hema q4.print how many are of age 25.
How will you declare a variable in perl?
Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?