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.
In reply to Re: RFC: Version::Easy
by jcb
in thread RFC: Version::Easy
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |