Keep It Simple, Stupid | |
PerlMonks |
Re: Inheritable configuration options.... but with default values? (updated)by LanX (Saint) |
on Feb 20, 2020 at 17:16 UTC ( [id://11113264]=note: print w/replies, xml ) | Need Help?? |
I can spot at least two issues:
you most likely want either local $cfg{on_error} = "warn"; or
(untested)
editand in the second case you won't even need inheritance because with pkg-vars you can be explicit
Cheers Rolf
updateadded local and my
updateThere are more options ... but the expected behavior is not clear to me ... To answer this properly we'd need to see an SSCCE
update*) fixed error in order, swl++
In Section
Seekers of Perl Wisdom
|
|