I have a database of lines separated by |. I have been opening my database and putting all lines in an @array then spliting them with a for each loop, then printing them. I now want to extract only a hundred lines and split them. But I need to start at a certian line number, for example read lines 1-100, 101-200, 201-300 and so on. Put those lines an array I can run a for each loop on and split them. Or maybe someone has a better solution. Please help. Thanks