in reply to Getting the text I want
Something like the following:
Other transformations are then rather trivial.my @pings = split /\n/, $ping; my @keep = grep { /^Reply/ } @pings; $pings[-1] =~ /(Average =.+)$/ ); my $avg = $1; push @keep, $avg; print join '\n', @keep;
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
It's not what you know, but knowing how to find it if you don't know that's important
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getting the text I want
by Hofmator (Curate) on Aug 21, 2001 at 18:45 UTC |