How about something along these lines?
shift @array while($array[0] ~~ /DBIC/); pop @array while ($array[$#array] ~~ /Dancer/);
In reply to Re: List::MoreUtils before, after and ... between?
by RichardK
in thread List::MoreUtils before, after and ... between?
by Boldra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |