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:
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 $var = 'string looking like a number'; $var = eval $var;
our $VERSION = 0.08;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: eval $VERSION in modules?
by JadeNB (Chaplain) on Jan 04, 2010 at 22:39 UTC |
In Section
Seekers of Perl Wisdom