Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://955474]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found