in reply to RFC: Version::Easy
This is an interesting little bundle of magic, but is use version; our $VERSION = version->declare('VERSION_GOES_HERE'); really that hard to write?
Similarly, maybe this should go one step farther and accept the version as an argument to import? Then users could write:
use Version::Easy 'v1.2.3';
This would abstract the magic $VERSION variable away into an implementation detail.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Version::Easy
by tobyink (Canon) on Jul 12, 2020 at 07:11 UTC | |
|
Re^2: RFC: Version::Easy
by LanX (Saint) on Jul 12, 2020 at 13:20 UTC | |
by tobyink (Canon) on Jul 14, 2020 at 19:53 UTC | |
by LanX (Saint) on Jul 16, 2020 at 18:39 UTC |