in reply to Re: Re: Re: duplicate lines in array
in thread duplicate lines in array
Bah, you call that golfing? :) You used multi-letter variable names and more than one space.
/(H\(\d+\))/&&push@{$c{$1}},"$_\n"for@r; print map@{$c{$_}},grep$#{$c{$_}},keys%c;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: duplicate lines in array
by Skeeve (Parson) on Jan 23, 2004 at 15:15 UTC |