Thank you for your reply. I am getting an output of
G 0 U 0 A 0 C 0
Could it be possible to link, second column with 5th column. I want to print 2nd column as 'key' and 5th column as 'value' in a hash.
I tried changing the $hash{$nt} to $hash{$key} but no change.
Thankyou
In reply to Re: Key value pair in hash inside while loop
by newtoperlprog
in thread Key value pair in hash inside while loop
by newtoperlprog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |