in reply to Push array to hash
You're all the best, thank you! I'd have never figured that out.
Fix for me was to change %lag_detail to $lag_detail.