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.)
In reply to Re: Re: Re: updating Input file
by ambrus
in thread updating Input file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |