in reply to Re^3: perlcritic compliant way to eval?
in thread perlcritic compliant way to eval?
A tad harsh and I dare say true only in the extreme circumstances. The Critic is just a tool and even the most blunt force tool requires skill to use properly. It doesn't require you to do anything. The Critic **should** cause you to think before making changes, either to conform or defy. But, as you point out, blind obedience is not useful.
In that sense, my question was poorly formed. Having made the decision to use eval in this version of the code, I was really looking for any other low impact suggestions I could make use of that would minimize risk and maintenance, making the rather grand assumption the Critic would agree.
Given more time, I would almost certainly take out the eval and use some other form of data store for all this, I just happen to be moving on before I'll get that chance.
Regardless, thanks for the response and opinion. We all need a good jab in the brain every so often to keep us on track.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: perlcritic compliant way to eval?
by BrowserUk (Patriarch) on Jul 21, 2016 at 14:03 UTC | |
by KeighleHawk (Scribe) on Jul 21, 2016 at 14:19 UTC |