in reply to Re^3: CPAN modules for inspecting a Perl distribution?
in thread CPAN modules for inspecting a Perl distribution?
I'll bite :) download examine-subs.pl, install the prereqs if you don't have them yet and run it on your site_perl:
$ cpan Data::Peek Devel::Examine::Subs Digest::SHA SourceCode::LineCou +nter::Perl String::CommonPrefix $ perl examine-subs --site -v : : long wait : /pro/lib/perl5/site_perl/5.28.0/Tk/DHList_v1.pm /pro/lib/perl5/site_perl/5.28.0/Tk/DTree.pm /pro/lib/perl5/site_perl/5.28.0/Tk/DiffText.pm /pro/lib/perl5/site_perl/5.28.0/Tk/FileDialog.pm Can't call method "serialize" on an undefined value at /pro/lib/perl5/ +site_perl/5.28.0/Devel/Examine/Subs.pm line 769. Exit 255
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: CPAN modules for inspecting a Perl distribution?
by stevieb (Canon) on Oct 15, 2018 at 17:19 UTC | |
Hey there Tux, I'll gladly try to repro, but the link you specified throws: "The requested URL was not found on this server.". Could you paste the code here, or correct the link? Thanks, -stevieb | [reply] |
by stevieb (Canon) on Oct 15, 2018 at 20:59 UTC | |
I didn't notice that Tux actually Private Messaged me with a working link. I only noticed it after another astute Monk pointed out there was a tag missing in the link. Here's a working link to the code: https://tux.nl/Files/examine-subs.pl. Here, inline is the actual code, just in case. I'll now go in pursuit of figuring out where the issue may lie. Hopefully it isn't within my code, but if it is, I'm always good at acknowledging and accepting mistakes. If the issue isn't in my code, I will do my best as always to find out what the issue is, and assign a ticket or contact whoever is responsible nonetheless :)
| [reply] [d/l] |
by stevieb (Canon) on Oct 15, 2018 at 22:42 UTC | |
To get things rolling on a Linux Mint 18., I had to:
OS details (cat /etc/linuxmint/info):
I ran the script, and within two seconds (literally), returned:
I then proceeded to install everything all the same on one of my development ARM-based Raspberry Pi devices, a base one, only with perlbrew (not even Devel::Examine::Subs was installed), and notice a fault in another one of my dists File::Edit::Portable happen when running the script:
I'll investigate further. There are a couple of recent issues brought up to me that may be affecting things, but I've had a difficult time solidifying the cause. I believe some may be related to problems in File::Edit::Portable, but am not 100% sure. Not all breakage happens at the same place. I'll keep testing, and throwing things at my internal test platforms until I understand the issue(s). I'm currently running commands to automate against a couple of Windows machines and Unix computers I've got set up for such an arrangement. I apologize if my software doesn't work as advertised. | [reply] [d/l] [select] |
by Tux (Canon) on Oct 16, 2018 at 06:44 UTC | |
by stevieb (Canon) on Oct 15, 2018 at 22:51 UTC | |
by stevieb (Canon) on Oct 15, 2018 at 22:54 UTC |