Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: List::MoreUtils before, after and ... between? (posting solutions for every possible interpretation)

by Boldra (Deacon)
on Feb 22, 2012 at 08:42 UTC ( #955474=note: print w/ replies, xml ) Need Help??


in reply to Re^4: List::MoreUtils before, after and ... between? (posting solutions for every possible interpretation)
in thread List::MoreUtils before, after and ... between?

I'm very sorry that I didn't stick around for very long after posting this, and so warranted such detailed second-guessing of my intentions. Apologies!

My intention was a mix: I had a specific problem where I was sure there would always be rubbish at both ends, but I was also curious about a function that would generally solve the "between" issue, which as I imagined it, would keep the middle, even if there was no rubbish at one of both ends.

This is luckily also what my example does, even though I hadn't tested it in that case!



- Boldra


Comment on Re^5: List::MoreUtils before, after and ... between? (posting solutions for every possible interpretation)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-04-18 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (461 votes), past polls