in reply to How can one initialize the scalar $reg_no in hash element?

You are trying to read from a file opened for writing. You should close the file and open it for reading before trying to read from it.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: How can one initialize the scalar $reg_no in hash element?