http://qs321.pair.com?node_id=815653


in reply to Re: eval $VERSION in modules?
in thread eval $VERSION in modules?

But that's only useful if you don't control the assignment of $VERSION itself (like $ExtUtils::MakeMaker::VERSION). If you want to put a numerical value in a variable, then:
our $var = 'string looking like a number'; $var = eval $var;
is not the way to earn brownie points. Suggest that during a job interview with me, and I won't recommend to my boss to hire you. You want a number inside your variable? Omit the quotes, don't use eval:
our $VERSION = 0.08;