Should I put only non-core modules in the PREREQ_PM section of a Makefile.PL or should I put there the core modules too?
Should I put core modules in the PREREQ_PM section of a Makefile.PL?
458 views Asked by sid_com At
2
There are 2 answers
0
tobyink
On
There was an interesting discussion on this on PerlMonks not so very long ago.
My personal policy is not to do so.
Although modules are dropped from core occasionally, there is a long (about 2 year) deprecation cycle, giving you plenty of time to re-package your distribution with updated dependencies.
And if the worst comes to the worst, and you don't update your distribution, when they try to install it, they'll get an error message about a missing module, so it should be fairly obvious for them how to proceed. (That is, they should install that module, then try installing yours again.)
Related Questions in PERL
- Perl Command Line Interpreter crashing on exit
- Perl Regex: Merge multiple one-character substrings
- Syntax error in Perl open
- Need help in understanding perl tr command with /d
- Referencing a Schema's table batch/perl
- Retrieving filtered list of files using template toolkit
- “Badly placed ()'s” error when running loc command
- getting google contacts using shuttlecloud
- Perl Module using %EXPORT_TAGS
- get all possible permutations of words in string using perl script
- Can't locate DBI.pm in @INC with Perl
- split string into several substring using indexes
- How to find strings between two specified texts
- Getting a json from a server and assigning it to a variable
- Is there anyway to plot timeline charts in excel sheets using Spreadhseet::WriteExcel module in Perl?
Related Questions in MAKEFILE
- Error trying to generate Makefile for glBinding
- Eclipse Makefile: Make Variables are skipped
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- C++ Struct prototyping in separate header file
- Reuse jquery plugin without conflict
- How do I a conditional build through a make file?
- basic makefile ifeq how to
- (automake, libtool) build fails in automake when using same source file name in different directory
- Makefile pattern rules differences
- Errors while trying to run make on source code
- Git tag name as version in Go via Travis-CI
- gcc make -properly sort out the sequence of making object files
- AOSP ROM for Samsung Grand duos GT-i9082 Error loading kernel
- How to address multiple definition compiler error
- How does MAKE remember the file timestamps
Related Questions in PERL-MODULE
- Array of hashes manipulation
- My Perl module from CPAN won't install, what do I do?
- Install Perl Module Nginx
- How to call a subroutine from one perl module to another perl module?
- How do i search and extract commented lines from a file using perl?
- How can I replace the use of a perl module with a call to an external program?
- incorporating local variables in a global hash in perl
- How to use Vlookup function of excel in perl
- Installing Perl modules to a specific location
- Set arbitrary breakpoint in debugger
- Error while connecting to sybase database using dbd:sybase
- Finding the delay in the stereo output in a recorded audio file
- How to write perl agent for windows os
- How do i pass on control on to different terminal tab using perl?
- Defining common variables across multiple scripts?
Related Questions in PREREQUISITES
- error while trying to publish c# windows forms with .net framework 4.5 prerequisite
- make prerequisite is newer than target but target is not ramade
- InstallShield Run setup and install prerequisites without asking
- VS 2010 Bootstrapper package
- Select courses that are completely satisfied by a given list of prerequisites
- How to rename a Prerequisite
- While downloading a C# application from my website, the prerequisite or supporting application does not get downloaded?
- How to install flash player from adobe site while installing my C# application?
- How to download the prerequiste from a particular remote URL location?
- Chaining dynamic prereqs in Makefile
- .NET PackageGroup in Bundle does not install as expected
- Installshield - Install prerequisite while uninstalling application
- Prerequisites for understanding algorithms?
- Add Kinect SDK as prerequisite to my application
- Should I put core modules in the PREREQ_PM section of a Makefile.PL?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes, you should specify all dependencies: The Perl Core is not fixed in all eternity. Core modules get added or removed (after a deprecation process) all the time. Specifying all your dependencies…
… will make your program work in future perls that have removed the module from Core. It will still be available from CPAN. For example
Term::UIis a Core module since v5.9.5 but was removed in v5.19.0.… will assert that a sufficiently high version of the core module in question is installed. Some modules have evolved significantly through time, and it is easy to forget that not everything was available five years ago.
… will make your program work on older perls that didn't include the module into Core, but are nevertheless able to use it.
On the other hand these can be very small gains. Nothing will break should you forget to specify such a central module like
Carpas a dependency.Remember: There are three causes for a module to be included in Core:
strictwhich is not going to be removed.Tip: use the
corelisttool fromModule::Corelistto see what modules versions are available in which perl release.