Always use strictures (use strict; use warnings; - see The strictures, according to Seuss).
In reply to Re^3: Hash key/value by GrandFather in thread Hash key/value by FireBird34