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...
will keep the last 100 lines in @x. If you just want to keep the first 100, usesplice @x => 0, -100;
Both will work without warnings if @x contains less than 100 elements.splice @x => 100;
Abigail
|
|---|