On 5/3/24 11:36 AM, Kalpesh Patel wrote:

I looked at Makefile.PL for 1.61 source at CPAN and it does NOT have CPAN
listed in PREREQ_PM or in %FallbackPrereqs. Might be worth adding to it...
Most GnuCash users can (and probably should...) likely ignore this post. Any further discussion should be taken offline of the GnuCash user list.

Kalpesh,

Makefile.PL gets created when Dist::Zilla (aka dzil) creates the tarball for uploading to CPAN.

Please understand what the prerequisites listed in the GitHub repo dist.ini file and package Makefile.PL and META files are. Those are modules that the module being installed requires to build, run, and test. Technically CPAN is *not* required for that. CPAN (and CPAN Minus) is a tool that simplifies the module install process for both novice and expert Perl users. One would not be able to execute "cpan Finance::Quote" or "perl -MCPAN -e shell" *unless* CPAN were already installed. Your suggestion to add it to the module prereqs is the same as suggesting that *every* single Perl module on CPAN should have it included as a prerequisite.

But that said, either the GnuCash and/or F::Q docs/wiki would probably benefit from an overview on how to check if CPAN is installed, and how to install CPAN if it is not already installed.

Bruce S.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to