in reply to Re: Need Help in Understanding Some Code - Map and Scalar Questionsin thread Need Help in Understanding Some Code - Map and Scalar Questions
%hash = 100; [download]
is the same as
%hash = ( 100 => undef ); [download]
You want
keys(%hash) = 100; [download]
keys