in reply to Hash Problem

You're using package variable input without fully qualifying it. our %input; will disable the error.