in reply to Re: Inheritable configuration options.... but with default values? (updated)
in thread Inheritable configuration options.... but with default values?

This order of hash entries will mean the global values override the local.

It should be:

my %cfg=( %base::cfg, on_error => "warn", );
  • Comment on Re^2: Inheritable configuration options.... but with default values? (updated)
  • Download Code

Replies are listed 'Best First'.
Re^3: Inheritable configuration options.... but with default values? (updated)
by LanX (Saint) on Feb 20, 2020 at 21:57 UTC
    Of course you are totally right.

    I was probably too occupied puzzling about the intended semantics.

    Fixed!

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery