Subject: | change to eval_perl implementation is not backcompat |
I like the new change from Lyle Hopkins to only load modules if they are
needed. Thanks for that.
However, the current dev release 0.29_2 quits working for me because of
the re-implementation of eval_perl. I had a config file like this:
%CFG = (
a => 'b'
);
\%CFG;
###
The old implementation with "do" ran this in it's own scope, and all was
good.
The new implementation with eval "foo" runs this in the lexical scope of
the subroutine in Config::Auto, and then dies because these are
considered global variables.
I suggest reverting the old behavior for backcompat.
Mark