in reply to Re: Re: updating Input file
in thread updating Input file

I belive that my solution is correct in this sense. $a{stdNum}==12 will match only student number 12.

You only have to make sure that there are no spaces in the stdNam field or change split to split /\s\s+/.

(Maybe you wanted to post this as a reply to the original question not my post. I'm not sure.)