Questions tagged [metacpan]

14 questions
4
votes
2 answers

Compare 2 CSV Huge CSV Files and print the differences to another csv file using perl

I have 2 csv files of multiple fields(approx 30 fields), and huge size ( approx 4GB ). File1: EmployeeName,Age,Salary,Address Vinoth,12,2548.245,"140,North Street,India" Vivek,40,2548.245,"140,North Street,India" Karthick,10,10.245,"140,North…
Vinoth Karthick
  • 905
  • 9
  • 27
4
votes
0 answers

Why CPAN.pm install Moose when I only wanted Mo?

I have the need for a lightweight object system in a perl5 script. After reading the documentation for Mouse.pm, Moo.pm and Mo.pm, I was tossing up between Moo and Mo. The deciding factor in the end was that the Mo module has no dependencies (see…
Marty
  • 2,788
  • 11
  • 17
3
votes
1 answer

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) My developer issued a new script, that now uses…
DraxDomax
  • 1,008
  • 1
  • 9
  • 28
3
votes
1 answer

How to send email via Email::Simple?

I want to send email. My Email::Simple (module version 2.216) object is: Email::Simple { body => \## EXCEPTION MESSAGE RU Error message: Какой-то текст‚ at /home/kes/work/projects/tucha/monkeyman/lib/MaitreD.pm line 75. , header =>…
Eugen Konkov
  • 22,193
  • 17
  • 108
  • 158
3
votes
1 answer

How to find a developer release on MetaCPAN?

Is it possible to find a module on MetaCPAN if the module is only available as developer release?
sid_com
  • 24,137
  • 26
  • 96
  • 187
2
votes
1 answer

Why is the same module listed three times at metacpan.org?

Searching for Devel::Peek at metacpan.org gives the following screen shot: Why is the module listed three times? (It looks a little bit strange, and could easily confuse the user..)
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
2
votes
1 answer

In Devel::CoverReport::DB what does .12 and .13 format means?

I am generating coverage using "Devel::Cover" cpan module, which generates cover_db and has a runs subdirecoty inside. Inside run directory i am getting the file cover.14. How to get .12 or .13 format file and what does this .12, .13 or .14 format…
1
vote
2 answers

How to make a Pod link from a module to a script within the same distribution?

Consider this module App::TimeTracker. If you click on the tracker link in the SYNOPSIS section you end up here whereas you should have ended up here. The Pod source code responsible for the behavior is given here, which shows that the following Pod…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
1
vote
1 answer

How does the key "file" of the structure "provides" work with "META.*" for "CPAN::Meta::Spec"?

I'm trying to better understand what I could use CPAN::Meta::Spec for and came across the following sentence in the spec for the key file: [...]to a file that contains or generates the package. It may be given as META.yml or META.json to claim a…
Thorsten Schöning
  • 3,501
  • 2
  • 25
  • 46
1
vote
2 answers

How to make "prereqs" of CPAN::Meta::Spec require a distribution instead of a package?

I'm researching about how to package some of my Perl apps and better manage their dependencies to make distribution easier for me and my customers, which most likely doesn't include uploading to CPAN at all. Instead, I would provide custom repos if…
Thorsten Schöning
  • 3,501
  • 2
  • 25
  • 46
0
votes
0 answers

Test coverage missing after upload of perl module to CPAN

After upload of a module to CPAN all testing reports are positive. Nevertheless the test coverate (usually located between Bus factor and License on the left hand side) is missing. In my sandbox I do not have any issues with the test coverage and…
Jurij
  • 1
  • 2
0
votes
1 answer

To Convert CSV File to Hash Structure using TEXT::CSV_XS Module in perl

I've below code which is used to read a csv file and convert to hash. The Keys are dependent on the number of key columns that user need. use warnings; use strict; my %hash; my $KeyCols = 2; while () { chomp; my @cols = split…
Vinoth Karthick
  • 905
  • 9
  • 27
0
votes
1 answer

In order to change your profile you have to connect your account to PAUSE

I just opened an account at https://metacpan.org and wanted to edit my profile. However, CPAN requires a PAUSE account. In order to change your profile you have to connect your account to PAUSE. When I click on the link, a pop-up says: Please…
Miroslav Popov
  • 3,294
  • 4
  • 32
  • 55
0
votes
2 answers

How can I do a scrolled search on MetaCPAN?

I'm trying to convert this script to use the new Elasticsearch official client instead of the older (now deprecated) ElasticSearch.pm, but I can't get the scrolled search to work. Here's what I've got: #! /usr/bin/perl use strict; use…
cjm
  • 61,471
  • 9
  • 126
  • 175