All Questions
88 questions
6
votes
5
answers
727
views
Image::Magick is gone from Perl CPAN - where is it?
I can't find the Perl module Image::Magick anywhere.
It is gone from CPAN.
What happened to it?
Where can I get it?
Is there a problem with CPAN, or with the module?
2
votes
1
answer
154
views
How do you test your Perl module to check if Makefile.PL declares all dependencies?
I would like to write a t/00-check-deps.t module to find all dependencies in MyModule.pm and make sure they exist in Makefile.PL before release.
This way when I do make test before distributing to ...
3
votes
2
answers
208
views
Is there an automatic way to build the "Changes" file from `git log` when publishing a perl module?
This is a perl-module specific question:
I already have my history and version tags in git so it would be nice to sync ./Changes with git log just before publishing the module update.
Specifically I ...
1
vote
2
answers
458
views
cpan App::cpanminus fails with multiple errors: "Giving up parsing your /Users/foo/.cpan/sources/modules/02packages.details.txt.gz, too many errors"
I am trying to install App::cpanminus Perl module using cpan App::cpanminus. I am getting the following errors. How can I fix the errors and install the module?
% cpan App::cpanminus
Reading '/Users/...
18
votes
1
answer
530
views
How do I release a Perl module to CPAN?
I need to create a CPAN module, but I don't know where to start or how to do that. I've already written my modules in Perl, but I don't know how to continue. Could anyone help?
3
votes
1
answer
2k
views
Perl: "Install" a custom module from a local .pm file into the Perl execution environment?
Perl newbie here with very little time and support to learn Perl but all the expectations from management to use it like a Perl Pro :)
I am using Perl (v5.30.2 by Larry Wall) under Cygwin (windows 10)
...
7
votes
4
answers
14k
views
how do I install perl modules on macos?
The thread perl how can I append STDOUT of list form system call of perl script to a file led to the following solution: use IPC::Run qw( run );. On my macos 10.14.6 running perl 5.18.4, this threw an ...
1
vote
1
answer
214
views
Why perl cgi does not compile CPAN module
My OS is Debian Buster. My cgi-bin is in /var. The CPAN module is HTML::Template and located in /perl5/lib/perl5/HTML as installed by cpanm. My server is Apache2 and appears to be configured correctly ...
3
votes
1
answer
2k
views
How to install basic modules for MSYS Perl?
I need to use the MSYS Perl to be able to install autoconf on my MSYS2 on Windows 7 because ActivePerl or Strawberry Perl don't work for the autoconf installation. The only problem is the default ...
5
votes
1
answer
92
views
Why is PSIXDISTS excluded from modules.perl6.org's rsync?
The script for retrieving all Perl 6 modules available on CPAN in modules.raku.org's DbBuilder.pm explicitly excludes any distributions from PSIXDISTS, even though there's a number of modules ...
1
vote
0
answers
48
views
how to migrate perlbrew to other debian server
Im new to perl.
I have a debian server with perlbrew istallation.
There is a custom module which a want on new debian server.
Module is owned by my company.
What is the best way to achieve funktional ...
2
votes
1
answer
133
views
How to manage different API versions in a Perl module? [closed]
There is a DataTables CPAN module. It is for datatables version 1.6.
In the meantime, there is datatables 1.10, with a different interface. A lot of things changed, e.g. the option names.
I wonder: ...
-2
votes
3
answers
991
views
Cant install Net::SSH2 perl module
I'm trying to install a perl module: Net::SSH2 with cpan but doesn't actually works.
cpan -f install Net::SSH2
Output:
CPAN: Storable loaded ok (v2.20) Going to read
'/root/.cpan/sources/...
0
votes
1
answer
856
views
Installing cpan module getting Could not make error
I want to install cpan module called Coro for Perl, after typing
cpan Coro
I get error something like Could not make: Unknown error
Here is full log from console: http://pastebin.com/NpXbG2eN
I ...
0
votes
3
answers
4k
views
Installing Perl modules on Ubuntu 16.04
I'm trying to install Perl modules Geo::ShapeFile and Math::Round but I keep coming across the same error and I can't find a solution that works. I've local::lib installed fine but its not being found ...
0
votes
1
answer
2k
views
How exactly to downgrade a Perl module version from latest one to older one?
My problem is that i upgraded the version of the IO:Sockets:SSL to the latest one through cpan, but now one of my scripts doesnt work on this version of the module. I want to go back to version 1.4 (...
4
votes
3
answers
307
views
How do I use a CPAN module in a perl script that I want to give to others?
I'm writing a Perl script that takes data and writes it to an Excel file. I'm using Excel::Writer::XLSX to do this.
I'm hoping to write the script and then give it to the rest of my team so we can ...
2
votes
3
answers
8k
views
Perl modules not loading correctly when running as non-root user
I'm running into an issue with Perl on a linux system.
When installing new modules (as root), I would occasionally have issues where running scripts as a regular user, I would not be able to access ...
0
votes
1
answer
2k
views
Cannot install perl module Email::Sender on Centos 6.7
I am trying to install this perl module, Email::Sender;
I have tried running this command first as root:
perl -MCPAN -e 'install("Email::Sender")'
It failed to make the test and make install test, ...
2
votes
3
answers
1k
views
Does installing Perl modules require a paid license?
I need to work on a Perl script that has some tasks, like reading/writing Excel sheets, connection to an Oracle database, etc.
First I used ActivePerl. On installing modules, ActivePerl threw an ...
0
votes
1
answer
331
views
PDF::Create module installation failed using cpan linux command?
When I tried to install cpan module, i get the following error, i have tried by googling it,am unable to find solution.
Catching error: "Can't locate object method \"Create\" via package \"install ...
5
votes
1
answer
5k
views
Why won't cpanm install dependencies?
I'm trying to install PAR from cpanm like so: cpanm App::Packer::PAR, but it's giving me this error:
skipping R/RJ/RJBS/perl-5.22.0.tar.bz2
! Installing the dependencies failed: Module ExtUtils::...
1
vote
2
answers
1k
views
Error while Installing Math::Pari
I'm trying to install Math::Pari module but getting error.
I'm installing on Windows Server 2012R2, I've Strawberry perl v5.18.4.1 32-bit currently installed on it.
Actually Math::Pari is dependency ...
8
votes
2
answers
6k
views
CPANM, "Couldn't find module or a distribution Archive::zip"
I am trying to write something in Perl that needs several modules, however this is my first time using Perl and I cannot seem to install one specific module I need, Archive::zip.
I am using perlbrew ...
0
votes
1
answer
313
views
Module installed with cpan isn't showing up
I'm trying to install Array::Iterator and Text::ParseWords using cpan. I'm on OSX with cpan v1.61 and perl v5.18.2.
When I start up cpan, after the initial configuration, I type install "Array::...
2
votes
1
answer
1k
views
How to update perl module with cpanm
I try to install/update Perl module with cpanm. But, it failed for every modules.
for example:
cpanm Config::General
--> Working on Config::General
Fetching http://www.cpan.org/authors/id/T/TL/...
-3
votes
1
answer
853
views
How to get all available perl modules list
How can i get only the list of all perl modules with short description of what they will do? So that it will help learners like me to use modules as per our need immediately, rather that searching it ...
1
vote
1
answer
1k
views
perl cpan module installation
I have a server where I've installed some perl modules. I installed the first few via CPAN, i.e. perl -MCPAN -e 'install Module::Name' as a non-root user.
Then I ran into some issues, and just ...
0
votes
1
answer
1k
views
CPAN installs module and doesn't see it after...cpan database issue?
I have this issue with some Perl modules on Fedora Linux. They are installed correctly and not show up in the list after.
For example I run:
cpan XML::SAX::Base
it produced lengthy output like:
...
1
vote
1
answer
2k
views
Perl. Install PAR::Packer under Windows (w/ Strawberry Perl)
I am trying to install PAR::Packer on a Windows system. I tried "cpanm -n PAR::Packer --force" but got the following dump. I don't even understand what it is trying to do in my GnuPgp directory, but ...
1
vote
0
answers
744
views
Issue while installing any Strawberry Perl Module
I'm trying to install a module for Strawbeery Perl on Windows 7 and I'm getting this weird error message:
E:>cpan Deep::Encode
CPAN: CPAN::SQLite loaded ok (v0.203)
Creating database file ...
...
2
votes
2
answers
2k
views
PAR::Packer fails to install with CPAN
I'm trying to install PAR::Packer from CPAN on Red Hat.
Unfortunately I get the following error during the installation and I can't figure out what is causing it:
cpan[4]> install PAR::Packer ...
1
vote
1
answer
64
views
Make sure the prerequisite module are installed on the unix/linux os
I am cpan module which have prerequisite on other module. Is there any process to make sure the module can be installed only after the installation of the prerequisite module while
manual installation ...
8
votes
2
answers
22k
views
Unable to install any perl modules because it can't location strict.pm
Hello StackOverflow Community,
I am trying to install a perl module, IO::All. But every time I use CPAN to install many perl modules (including if I run from within cpan "install Build::CPAN") it ...
-1
votes
3
answers
8k
views
DBD::Oracle installation causing error
I want to connect to an Oracle Database through Perl. For this, I'm trying to install DBD::Oracle from CPAN by using the following command:
[root@localhost Admin]# cpan DBD::Oracle
While running ...
0
votes
2
answers
8k
views
Why can't my Perl program find Array::Utils?
use Array::Utils qw(:all);# it showing error
my @array1 = (1, 2, 3, 5, 7, 23, 8, 14, 95, 19);
my @array2 = (3, 14, 6, 22, 88, 19, 100);
my@isect = intersect(@array1,@array2);
print @isect,$/;
The use ...
-1
votes
3
answers
188
views
CPAN module in Perl scripting language
I'm new to Perl scripting language(beginner). What is the use of CPAN module,why we need this module? please let me know.
How install in CPAN in Linux(CentOS).
2
votes
2
answers
2k
views
Time::ParseDate install fail
I'm trying to install a module to manipulate times in the format HHMMSS--just to find basic time differences and such. Time::ParseDate looks like a perfect candidate, but I'm having some trouble ...
4
votes
1
answer
17k
views
Term::ReadKey in .bashrc command script
I'm writing a simple motd-script in perl, that parses messages from specific websites and displays them in the center of the terminal screen.
To get the width of the terminal I use the CPAN module ...
3
votes
2
answers
809
views
Why are Perl modules case sensitive?
Although I haven't seen any modules with same name but with different cases, but just for curiosity, I was trying to install Log::Log4perl and during installation I misspelled it 'Perl' in place of '...
1
vote
1
answer
11k
views
Error on CPAN installation
When i tried installing the Perl Modules from CPAN in Strawberry perl with windows 7 OS using the command
"cpan Text::Extract"
i got the Following Error, "Fetching with LWP: http://cpan....
7
votes
1
answer
2k
views
Is there a centralized Java libraries repository such like CPAN for Perl? [closed]
People build repositories of software (like these that contains GNU/Linux packages) or code, documentation, all centralized in one place.
All modules/libraries installations can be done through it. ...
1
vote
1
answer
554
views
Can't install Imager On Mac
I have been struggling to install Cpan Module 'Imager' and 'Imager::File::PNG' on Mac By Cpanm
cpanm --look Imager
and
'Imager::File::PNG' need 'libpng' library
so, i try to install 'libpng' by ...
3
votes
2
answers
123
views
Perl: Testing an input reader?
Is there a way to automatically test using the standard Test etc. modules whether a Perl program is reading input from e.g. STDIN properly? E.g. testing a program that reads two integers from STDIN ...
0
votes
1
answer
1k
views
How to Display IFconfig information with perl program in Linux
I have an assignment where i am supposed to create a perl script in linux that will give an output similar to that of the linux command "ifconfig". I have started writing the script but I repeatedly ...
0
votes
1
answer
2k
views
install CPAN module
I have a problem when i want to install perl module
I make " cpan" to install cpan , but i get this "
Terminal does not support AddHistory.
Your configuration suggests that CPAN.pm should use ...
0
votes
1
answer
117
views
How to count the length of output in perl
I need to be able to count the output of the program i have below, the output basically supposed to look like
website-name.com - Breaking news, opinion, politics, entertainment, sports and culture.
...
0
votes
1
answer
1k
views
Unable to install a CPAN module
I am trying to install a CPAN module Statistics::ChiSquare. I am running Strawbwerry perl and Padre on my Windows 7 machine. First I installed cpan.pm. An then tried to install the module, but got the ...
0
votes
1
answer
147
views
"dzil new" stopped working
I'm using perlbrew. Tested under Perl v5.16.2 and v5.14.2, on Mac OS X, Debian and Ubuntu boxes. The result is always the same:
stas@Stanislaws-MacBook-Pro:~$ dzil new Some::Module
[DZ] making target ...
0
votes
1
answer
236
views
Transferring perl modules (RHEL)
I have need to install a couple perl modules onto my test environment (JSON and JSON::XS).
However, the test environment, which mirrors production, can't have gcc installed.
I do have a dev ...