All Questions
11 questions
1
vote
1
answer
2k
views
How to exit current CPAN module and open a new session?
I am new to perl and CPAN. I see that perl is installed in my system.
However, I would like to install DBI package to run a script called INSTALL.PL.
When I type CPAN, I get the below error message
...
1
vote
3
answers
178
views
Make package both Functional and OO
I've seen CPAN Perl modules that can be used in a functional or OO way. I usually write OO and Functional packages depending on what I need, but I'm still not how write modules that can used both ways....
2
votes
1
answer
2k
views
dh: unable to load addon config-package
After installing the debuild toolchain with:
sudo apt-get install devscripts build-essential lintian
I got the following error when running debuild to build a package:
dh clean --with=config-...
2
votes
1
answer
252
views
Error While installing perl Packages in Freebsd?
I am getting this error while installing any perl module in a freebsd server when I googled it I Found that cpan is broken then how to update cpan without using ports want to use only pkg..
cpan JSON
...
4
votes
2
answers
1k
views
How to install Perl packages automatically in FreeBSD using a Perl script without any prompt?
I want to install Perl packages automatically using a Perl script. The code I am using is
#!/usr/bin/perl
use strict;
use warnings;
use utf8;
use CPAN;
eval "use JSON"
or do {
CPAN::install(...
2
votes
1
answer
5k
views
No package 'fribidi' found
I try to install module Text::Bidi with cpan but I get the following message:
Package fribidi was not found in the pkg-config search path. Perhaps you should add the directory containing `fribidi....
5
votes
2
answers
5k
views
Automatically Install Package-Based Perl Modules in Ubuntu
I would like to install the Perl modules required by a specific Perl script, such as those listed by the perl-depends tool. However, I would like to do that in Ubuntu using the apt-get, meaning ...
3
votes
1
answer
174
views
Perl CPAN-style Packaging with no lib/*.pm
I've got a collection of Perl scripts and a couple XML data files that they depend on which I'd like to distribute. Currently, I've got a shell script which copies bin/* and share/* to a target ...
3
votes
4
answers
273
views
How can I install several CPAN distributions at once?
I have recently started some Perl development and use CPAN to install all my packages. I was wondering if there are some "best practices" to manage required packages for a script or application. So ...
6
votes
3
answers
2k
views
How do I find out the filename of a Perl package?
I would like to translate a Perl package name to the full path of the file.
say package_name_to_path('Foo::Bar::Baz');
/tmp/Foo/Bar/Baz.pm
I know there is a CPAN module to do this? I just can't find ...
32
votes
10
answers
10k
views
How do YOU manage Perl modules when using a package manager?
A recent question here on SO got me thinking.
On most Linux distributions that I tried, some Perl modules would be available through the package manager. Others, of course, not. For quite a while I ...