in reply to
List::MoreUtils before, after and ... between?
How about something along these lines?
shift @array while($array ~~ /DBIC/);
pop @array while ($array[$#array] ~~ /Dancer/);
Well, obviously you can change the regex to match whatever you need.
You didn't mention that about the DBICs, that's a more difficult and messy problem.
It's probably going to be much more successful to look for what you do want, rather than what you don't, so I'd design a regex to do just that ;)
Compiling them myself
Merijn's HP-UX software
Whatever is shipped with my OS release
None, i use PerlScript
Results (178 votes),