Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to install a package in perl ????

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


Please Help Members By Posting Answers For Below Questions

What is stdin in perl?

953


Explain chop?

907


How can arrays be tied?

909


How do I sort a hash by the hash key?

914


Comment on the scope of variables in perl.

918


What is the use of -w, -t and strict in Perl?

982


How many loop control keywords are there in perl?

929


what are the two ways to get private values inside a subroutine or block?

921


What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?

980


How to know whether a key exists or not in perl?

970


how to get back up from private character editor which is saved in the format of .udf

2280


How to find the length of an array in perl?

1009


Explain about typeglobs?

921


In Perl we can show the warnings using some options in order to reduce or avoid the errors. What are that options?

989


Write a program to show the process of spawning a child process

847