in reply to 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...
@x = @x[($#x-100>0?$#x-100:0)..$#x];I find @x = @x[0..99] if @x > 100; to be more readable. YMMV.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading Log file from bottom up and take first 100 lines and send email...
by Abigail-II (Bishop) on Jul 19, 2002 at 12:09 UTC | |
|
Re: Re: Re: Reading Log file from bottom up and take first 100 lines and send email...
by Courage (Parson) on Jul 19, 2002 at 06:40 UTC |