in reply to Retrieve value with key warns 'unitialized value' although present

#use 5.010; ############# I use this in the larger script , just not here

Actually, you do use it here. The // operator (C style Logical Defined Or) is new to 5.10.