Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Devel::Peek exist as a standalone Perl module?

Tags:

perl

cpan

I have a clean install of perl 5.26.3, and I am trying to install Dancer2.

Dancer2 depends on App::Cmd::Setup, which depends on Getopt::Long::Descriptive, which depends on Params::Validate, which depends on Devel::Peek.

Looking at Devel::Peek on MetaCPAN, it is part of the perl 5.30.2 distribution, and I can not find the Devel::Peek package by itself. The "Jump to version" list on the Devel::Peek page lists previous version of perl, not of Devel::Peek.

Installing Dancer2 on perl 5.26.3 apparently has a hard, transitive dependency of installing perl 5.30.2, but I do not have the authority -- nor any desire -- to update the perl installation.

Is there a version of Devel::Peek available by itself?

Thank you.

Edit

It looks like I have a broken perl installation. I have no Data/Peek.pm anywhere on the filesystem. When I try to use Devel::Peek, I am told Can't locate Devel/Peek.pm in @INC.

I'll install from scratch and start over.

like image 340
neniu Avatar asked Oct 28 '25 08:10

neniu


2 Answers

You should be able to fix it with the installation of

yum perl-Devel-Peek
like image 80
Ωmega Avatar answered Oct 31 '25 09:10

Ωmega


For alpine, be sure to do apk add perl-dev to add additional modules needed to build some packages.

like image 21
StevieD Avatar answered Oct 31 '25 09:10

StevieD



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!