Change all your %DataRatesHash->{} to $DataRatesHash{}.
%DataRatesHash-> is dereferencing a hash which is probably not what you want.
Update: Oops, look beyond the warnings to the actual result - you need to quote the numbers you are using as keys.
In reply to Re: hash, deref & looping problem
by GrandFather
in thread hash, deref & looping problem
by ramya2005
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |