Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: List::MoreUtils before, after and ... between?

by rovf (Priest)
on Feb 21, 2012 at 15:16 UTC ( #955333=note: print w/ replies, xml ) Need Help??


in reply to Re: List::MoreUtils before, after and ... between?
in thread List::MoreUtils before, after and ... between?

This assumes that it is *known* that we search for "MyApp". I understood the problem in the following way: Throw away everything in the beginning of the list up to, and including, DBIC. Then keep everythin which follows, up to (but not including) the first Dancer. Then throw away what follows. For instance, a MyApp which precedes a DBIC or follows a Dancer, should also be thrown away. This can't be done with your grep solution.

-- 
Ronald Fischer <ynnor@mm.st>


Comment on Re^2: List::MoreUtils before, after and ... between?
Download Code
Re^3: List::MoreUtils before, after and ... between?
by BrowserUk (Pope) on Feb 21, 2012 at 15:18 UTC
    Your specific example...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955333]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2014-09-16 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (47 votes), past polls