in reply to Re^2: List::MoreUtils before, after and ... between?
in thread List::MoreUtils before, after and ... between?
UPDATE:
Still not sure what the requested output is, but if it's only about eliminating the edges try
DB<101> @list= ("a".."c","DBIC","A".."C","DANCER","a".."c") => ("a", "b", "c", "DBIC", "A", "B", "C", "DANCER", "a", "b", "c") DB<102> grep { /DBIC/ .. /DANCER/ and ! /DBIC/ and ! /DANCER/ } @lis +t => ("A", "B", "C")
not DRY but effective.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: List::MoreUtils before, after and ... between?
by Boldra (Curate) on Feb 22, 2012 at 10:36 UTC | |
Re^4: List::MoreUtils before, after and ... between?
by ikegami (Patriarch) on Feb 22, 2012 at 00:12 UTC | |
by LanX (Saint) on Feb 22, 2012 at 00:17 UTC | |
by ikegami (Patriarch) on Feb 22, 2012 at 01:33 UTC | |
by LanX (Saint) on Feb 22, 2012 at 02:20 UTC |