in reply to Re^2: Hash assignment: UndERDocumented feature?
in thread Hash assignment: Undocumented feature?
%what_john_has = ( %what_all_workers_have, office_space => 20, # needs room to maneuvre hours_per_week => 35, # needs more breaks );
That's kinda like what
my %arguments = (%$hr_defaults, %{ $hr_args || {} });
is doing in my example code: as you've written, %what_all_workers_have is the default of what a particular worker has.
|
|---|