P is for Practical | |
PerlMonks |
Requring minimum perl version in a cpanfileby Anonymous Monk |
on Jan 19, 2017 at 22:12 UTC ( [id://1179948]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am using cpanfile with my app to try to make it easier to install for non-perl users.
I added a line in cpanfile specifying the minimum perl version, but I was expecting it to bail if the requirement wasn't met. Instead, it only prints a line after it tries to install everything, saying the perl version isn't in the specified range. I also added the requires line inside an , but it behaves the same. Is there a way to make it bail on the perl version, before it wastes time trying to install a bunch of modules?
Back to
Seekers of Perl Wisdom
|
|