Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by swl (Parson)
on Feb 20, 2020 at 20:57 UTC ( [id://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", );

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found