in reply to Pushing anon hash on to HoA structure giving Use of uninitialized value in hash element error using warnings

I don't see any problem in this subroutine. Why don't you check sub get_token,may be problem lies in that. Also use Data::Dumper to check if hashes of array is created properly.
  • Comment on Re: Pushing anon hash on to HoA structure giving Use of uninitialized value in hash element error using warnings