You could write your own function that is a for loop that counts until 100, putting each line into the array and quits would work.
There may be a more elegant way, though... Matt On Wed, 2002-09-18 at 09:31, Jakob Kofoed wrote: > > Hi there, > > Does Perl have a function like the UNIX head. > > e.g. I have a file with a header - and I only need the data from line > 100 and forward where the single lines are put in to a array for further > "treatment". > > I know Perl can do it but how?? > > Thanks. > > Cheers, > Jakob > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]