in reply to List::MoreUtils before, after and ... between?
How about something along these lines?
shift @array while($array[0] ~~ /DBIC/); pop @array while ($array[$#array] ~~ /Dancer/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: List::MoreUtils before, after and ... between?
by Boldra (Curate) on Feb 22, 2012 at 09:31 UTC | |
by RichardK (Parson) on Feb 22, 2012 at 11:25 UTC |