in reply to Re^4: CPAN modules for inspecting a Perl distribution?
in thread CPAN modules for inspecting a Perl distribution?
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: CPAN modules for inspecting a Perl distribution?
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 | |
You did not pass --site, which will analyze the current folder. --site will analyze perl5's site_perl. In my perl-5.28.0 I have 2118 modules installed, resulting in 12151 .pm files and 900 .pl files with a total of over 5 million lines. That'll take a while to complete. I Forgot to mention that I also ran into that File::Edit::Portable issue, and I changed that line to
just to see how far I could get.
Enjoy, Have FUN! H.Merijn | [reply] [d/l] [select] |
by stevieb (Canon) on Oct 15, 2018 at 22:51 UTC | |
I may be wrong here. Might be that I had RELEASE_TESTING=1 enabled, breaking installs where that directive is only for developer testing. ...if that's my mistake, it's one I'm sure all authors have made in the past. If not, I'm a truthful person when it comes to code. We will see, and I have the diligence to get to the bottom of it. | [reply] [d/l] |
by stevieb (Canon) on Oct 15, 2018 at 22:54 UTC |