Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Inheritable configuration options.... but with default values? (updated)

by swl (Priest)
on Feb 20, 2020 at 20:57 UTC ( #11113281=note: print w/replies, xml ) Need Help??


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 (Cardinal) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2020-09-28 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (144 votes). Check out past polls.

    Notices?