I would certainly grill you during our code review meeting to "please explain" why on earth you're resorting to the dreaded stringy eval for such a simple chore
The answer would be because I understand that is what I am supposed to do because Perl uses underscores in the version number to indicate a development release. This release is currently a development release 0.1_1 with an underscore.
I strongly suspect that it was you eyepopslikeamosquito who directed me towards this practice as you were the one who helpfully provided the information I needed to publish my first module Business::Stripe::WebCheckout. I used almost exclusively the links you provided to do that which included adding $VERSION.
I cannot find the original code but here is an article that advises using this technique...
In reply to Re^2: How Critical is Critic?
by Bod
in thread How Critical is Critic?
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |