Questions tagged [cpan]

CPAN is the Comprehensive Perl Archive Network, a code and documentation archive of over 100,000 open-source Perl modules across more than 25,000 distributions written by more than 10,000 authors. This tag is not for general Perl questions; use the [perl] tag instead.

The Comprehensive Perl Archive Network (CPAN) is an open-source code and documentation archive of over 100,000 Perl modules across more than 25,000 distributions written by more than 10,000 authors.

CPAN has been online since October 1995 and is constantly growing. CPAN's main purpose is to provide a distributed repository for Perl programmers to locate, install, and share open source modules and code snippets.

Installable files on the CPAN are known as distributions. A distribution consists of one or more modules, documentation files (generally in ), or scripts. Distributions are typically packaged with an install script called Makefile.PL or Build.PL.

When to use this tag?

This tag is not for general Perl questions; use instead. This tag should be used for questions relating to cpan.org or modules for interacting with cpan.org and mirrors (like CPAN.pm ) ...

Documentation

CPAN Installation tools for end users

  • CPAN - the classic CPAN command line install shell
  • CPANPLUS - an updated API and command line interface to CPAN intended to be more scriptable
  • cpanminus - a faster and more concise CPAN installer
  • CPAN::Mini - create a minimal mirror of CPAN

Modules used for creating install/distribution scripts

  • ExtUtils::MakeMaker - the venerable module used to generate a make file via Makefile.PL.
  • Module::Install - a drop-in replacement for ExtUtils::MakeMaker that provides more intuitive features and customization for module authors
  • Module::Build - a mostly pure Perl alternative to ExtUtils::MakeMaker, which does not rely on a system make command.
  • Dist::Zilla - distribution builder
  • pip - Perl Installation Program

Related Links

1203 questions
0
votes
1 answer

Devel::CheckLib syntax errors when trying to install Tree::Suffix

I'm trying to install the Tree::Suffix module from CPAN on a Debian testing system, with Perl 5.18.1 installed. During compliation, I get a bunch of syntax errors and warnings, related to Devel::CheckLib. CPAN.pm: Building…
enricoferrero
  • 2,249
  • 1
  • 23
  • 28
0
votes
1 answer

BOBTFISH/Task-Catalyst installation error

I am using CentOS 5.7 perl 5.14.2. While installing CPAN module Task::Catalyst cpan -i Task::Catalyst i am getting the error: http://pastebin.com/N1p1UMAH 3 modules Catalyst::Authentication::Credential::HTTP, Catalyst::View::Email and…
Bharat Pahalwani
  • 1,404
  • 3
  • 25
  • 40
0
votes
1 answer

use Bio::seq not working in Perl

I installed CPAN and then successfully installed Bioperl. I cannot find Bio perl folder in /usr/bin However, the files are present at home/.cpan/build/BioPerl-1.61/Bio/ I am unable to use Bio::SeqIO on Komodo IDE: Komodo Edit 8 OS: Ubuntu…
Death Metal
  • 830
  • 3
  • 9
  • 26
0
votes
2 answers

Unable to load (and reinstall) Socket.pm after upgrade

I've just upgraded Slackware64 to 14.1 and I found Perl 5.18 in it. Socket.pm now complains that it was compiled for another Perl version, which was 5.16. Here is the error: Perl API version v5.16.0 of Socket does not match v5.18.0 at…
Zagorax
  • 11,440
  • 8
  • 44
  • 56
0
votes
2 answers

Image::Magick Install Error 127

When I try to install Image::Magick via CPAN on an Ubuntu system, I get an 127 error. I have no idea what is going wrong. Below is the text of what I get: cpan[1]> install Image::Magick Reading '/root/.cpan/Metadata' Database was generated on Fri,…
CS3000911
  • 131
  • 2
  • 2
  • 8
0
votes
1 answer

Error in checking an email id is valid using Mail::CheckUser

I am creating a script for checking mail id inbox exist or not (mail probing), i am using Mail::CheckUser module for this.But when i execute the code with a mail id like "somthing@yahooo.com" it shows the mail id exist ,but it does not exist in…
0
votes
1 answer

How can i change ip in mail probing using perl

I am creating a script for checking mail id inbox exist or not (mail probing), i am using Mail::CheckUser module for this.but the problem is when i continuously run the script, there may be a chance to block my ip , so i would like to use change my…
0
votes
2 answers

Installing XML::DOM module fails

I couldn't find any solution for two weeks.!!!! I try to install CPAN Modules using the cpan.exe. When I try to install a module with "install XML::DOM" fails stating dmake.exe is NOT OK, here is my error: Microsoft Windows [Version…
user2796487
0
votes
1 answer

Installing CPAN modules fails

I try to install CPAN Modules using the cpan.exe. When I try to install a module with "install XML::DOM" fails stating dmake.exe is NOT OK, Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights…
user2796487
0
votes
1 answer

Perl API Error: Bareword "SQL_INTEGER" not allowed while "strict subs" in use

I am attempting to connect to the Ensembl API using the following Perl code: #!/bin/perl use Bio::EnsEMBL::Registry; use DBI qw(:sql_types); my $registry = 'Bio::EnsEMBL::Registry'; $registry->load_registry_from_db( …
user2639056
  • 295
  • 1
  • 5
  • 10
0
votes
1 answer

how to post-process coordinates, lat, lon, .... after retrieval of data?

When using Geo::Coder:Google, a mapping from an address to lat/lon works vice versa. But the output is not suitable for an immediate access concerning concrete fields especially when converting lat/lon to an address. According to my debug log: loc…
mnemonic
  • 1,605
  • 2
  • 17
  • 26
0
votes
2 answers

How to install perl Logger module

I am a noob to perl. Searching for "How to install a perl module" I did install cpan and tried the following: sudo cpan install Logger But received: Going to read '/Users/steve/.cpan/Metadata' Database was generated on Wed, 09 Oct 2013 06:53:03…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
0
votes
2 answers

Best C/C++ Library to defang HTML?

I'm looking for a C/C++ functional equivalent to HTML::Defang, and my Google-fu has not been able to uncover anything. I want to keep any benign tags and strip out/defang everything else. Lacking an actual library, any pointers to complete lists of…
user234021
0
votes
2 answers

Log in a form using perl?

I am trying to log in in a website using perl but i can't get that done, this is the code i actually wrote : package Vk; use strict; use warnings; use LWPx::ParanoidAgent; use HTML::TokeParser; use XML::TokeParser; use Time::HiRes qw/ usleep /; use…
MNS
  • 395
  • 1
  • 4
  • 16
0
votes
1 answer

Git::Repository: use of uninitialized value $git_dir

I've just had my sysadmin install Git::Repository on a solaris-server for me. I wrote a little test-script, to check if the basic functionality of the module is working and came across this error: Use of uninitialized value $git_dir in -d at…
Vince
  • 1,517
  • 2
  • 18
  • 43