in reply to hash Querry

Add
use strict; use warnings;
to the top of your script and see what happens.