The Anonymous Monk deleted the header row in the code provided above.
delete $row{Gene};
That seems like the easiest way to do it. To do what you are asking here you can use eof. Also refer to Variables related to filehandles
| [reply] [d/l] |
oh yes i noticed that, however my actual files has one more line above the row deleted by
delete $row{Gene};
So i need to skip the first row and then delete the Gene row..
thanks for the input, i'll look into the links | [reply] [d/l] |
i used next if /^/ ;
it works well!! thanks,
| [reply] |