Using a base module with a required versionby talexb (Chancellor)
|on Aug 02, 2019 at 16:25 UTC
talexb has asked for the wisdom of the Perl Monks concerning the following question:
I'm updating a module Juliet that's the base for another module November. So in November, I have
Since I'm updating Juliet, I'm going to add a $VERSION so that we can start requiring certain versions of modules going forward. But I'm uncertain about how to add a version requirement to the use base statement. Just putting
produces a 'Number found where operator expected ..' error when I compile.
So I guess the question is, how do I combine a version requirement with a use base statement?