in reply to Re: Re: Reading Log file from bottom up and take first 100 lines and send email...
in thread Reading Log file from bottom up and take first 100 lines and send email...

Good point. But it needs to be
@x = reverse(@x[reverse -99..-1]) if @x > 100;
?

updated sorry, I wrongfully read a question, I thought about *last* 100 lines. My wrong.

Courage, the Cowardly Dog

  • Comment on Re: Re: Re: Reading Log file from bottom up and take first 100 lines and send email...
  • Download Code