perl-module Questions

3

All Perl modules and 'cpan' stopped working after an upgrade of Ubuntu 16.04 LTS to 18.04 LTS. Every time I run my script it leads to the error threads.c: loadable library and Perl binaries are mi...
We asked 21/5, 2018 at 5:25

3

Solved

I have a lot perl code that does different things in test and production, and I want to lock my code to specific versions of CPAN modules in case there are some changes to some of them in the futur...
Fingernail asked 15/1, 2013 at 6:29

5

For some reason, whenever I run any Perl module (like cpanm), I've been getting this response: ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed ...
Croy asked 9/7, 2017 at 20:12

11

Solved

I tried to check if XML::Simple is installed in my system or not. perl -e 'while (<@INC>) { while (<$_/*.pm>) { print "$_\n"; } }' The above one-liner was used for listing all module...
Financial asked 24/6, 2009 at 15:29

6

Solved

I have number and need to add the suffix: 'st', 'nd', 'rd', 'th'. So for example: if the number is 42 the suffix is 'nd' , 521 is 'st' and 113 is 'th' and so on. I need to do this in perl. Any poin...
Mendelevium asked 6/7, 2012 at 21:31

9

Solved

Postgres DB is already installed. I'm not using system perl I have installed another perl in "/srv/data203806/Migration/CPAN/localperl/bin". When I'm trying to install, It is asking for PATH TO pg_...
Rhea asked 8/3, 2014 at 3:46

6

I'm trying to launch this script: #!/usr/bin/perl use DBI; my $dbh = DBI->connect( 'dbi:Oracle:host=lonlin2;sid=TIMFX1AD;port=1524','xbsesdbo','xbsesdbo123' ) || die ( $DBI::errstr . "\n...
Ruel asked 13/12, 2013 at 14:25

3

Solved

I have a number of Bash and Perl scripts which are unrelated in functionality, but are related in that they work within the same project. The fact that they work in the same project means that I co...
Decrepitude asked 1/12, 2014 at 10:45

4

I have downloaded strawberry PERL and writing one application with CGI Perl Apache on Winxp sp3). One of the libraries (written by someone else) which I using uses XML::LibXML. When i load the page...
Millenarianism asked 13/7, 2012 at 9:53

4

Solved

I have several Linux machines that run Perl programs and other programs and tools. I want to keep all tools between machines synchronized, so I have shared the /usr/local directory between one mac...
Kress asked 7/1, 2017 at 22:1

3

For Python, there is a script called importchecker which tells you if you have unnecessary import statements. Is there a similar utility for Perl use (and require) statements?
Infundibuliform asked 5/9, 2012 at 17:37

27

Solved

Aside from trying perldoc <module name> individually for any CPAN module that takes my fancy or going through the file system and looking at the directories, I have no idea what modules we h...
Fjeld asked 22/9, 2008 at 15:15

7

Solved

I want to build a bunch of Perl subrotines that all have the same template if elsif elsif else that takes a decision based on a factor variable. Here's an example of subroutine template: sub get_a...
Ineligible asked 29/11, 2011 at 22:6

3

Solved

I am looking the most efficient and readable way to export all constants from my separate module,that is used only for storing constants. For instance use strict; use warnings; use Readonly; Re...
Lite asked 6/8, 2015 at 17:49

6

Solved

While loading necessities into my crouton, apt-get recommended that I install libtemplate-perl. This seemed a jolly idea, and I obeyed. Reading this answer, I see a fellow traveler install Plack a...
Oestradiol asked 14/7, 2014 at 0:45

7

How do I solve this error? Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/per...
Fecund asked 26/4, 2014 at 18:1

9

Solved

I want to create a UniqueId. Is there a function I can call, such that every time when I use that it will give me a new Id, always with a different value?
Kistner asked 5/9, 2013 at 5:13

2

Solved

Is there any perl modules implementing function of database and easy to use. I do not need modules used to connect to some database products. I need simple database writing by perl. Thanks. ...
Digitoxin asked 24/11, 2019 at 22:21

2

Solved

I am building an XS extension with Perl. I have two files: A C header file (.h) A C source file (.c) Currently what i did is to put all the C file code before the Model= on the XS file and wrap...
Huba asked 23/4, 2014 at 12:28

1

Solved

There are some Perl modules that could previously be installed with: yum install "perl(DateTime)" Under CentOS7. In CentOS8 I get the error: No match for argument: perl(DateTime) I have the sam...
Plantain asked 9/10, 2019 at 15:41

5

Solved

I'm a C/C++/Java/Unix geek by trade, but now I have to write a Perl program in Windows. So I've got Cygwin, Eclipse with EPIC installed, and simple test programs run. I do not have a Unix machine a...
Hymn asked 7/5, 2012 at 14:8

3

Solved

I was writing a module as part of my application when I noticed syntax check results in warning about useless use of a constant (1). Why is that? The constant is the obligatory 1 at the end of the...
Bigoted asked 28/1, 2015 at 18:31

1

Solved

I upgraded Ubuntu from zesty to bionic. In the process perl was upgraded from 5.24.1 to 5.26.1. Now I am getting this error when I try to install Expect. Tty.c: loadable library and perl binaries ...
Santa asked 3/4, 2019 at 0:14

6

Solved

I've authored the README file in my Perl module in Markdown. Github treats this README file as plain text. I tried renaming the file to "README.md"—which looks great on Github, but is invisible to ...
Interlock asked 2/11, 2012 at 2:22

4

Until now I used ActiveState's ActivePerl, and used the ppm for installing modules. Last week I moved to Strawberry Perl, but I don't know how I should install modules using Strawberry Perl. What ...
Fordham asked 10/7, 2011 at 21:48

© 2022 - 2024 — McMap. All rights reserved.