I was surprised it didn't like this use of eval:our $VERSION = '0.1_1'; $VERSION = eval $VERSION;
I wasn't. During many years of code reviewing inexperienced Perl coder's efforts over the years, I've noticed that block eval tends to be under-used, stringy eval over-used.
Bod, 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, and to please describe the alternatives you'd considered and rejected before doing so. :)
For more background on this topic see: string eval vs block eval
In reply to Re: How Critical is Critic?
by eyepopslikeamosquito
in thread How Critical is Critic?
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |