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 use of ‘->’ symbol?

1010


How do you you check the return code of a command in perl?

986


How do I do fill_in_the_blank for each file in a directory?

968


What are the different ways to run cgi?

964


What are the various advantages and disadvantages of perl?

901


What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)

944


Explain chomp, chop, cpan, tk.

939


What's the difference between /^Foo/s and /^Foo/?

1193


Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?

1092


Explain goto name?

943


You want to open and read data files with perl. How would you do that?

882


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 ?"

2401


How to merge two arrays in perl?

1065


What is the difference between use and require in perl?

869


Is perl a case sensitive language?

1112