Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: List::MoreUtils before, after and ... between? ("simple")

by ikegami (Pope)
on Feb 22, 2012 at 01:48 UTC ( #955433=note: print w/replies, xml ) Need Help??

in reply to Re^2: List::MoreUtils before, after and ... between? ("simple")
in thread List::MoreUtils before, after and ... between?

I guess some definitions of "quite simple" can be applied to that code.

Linear, clear, concise.

I did not mean to include yours in the set of "not simple". I wasn't paying much attention by the time I got that far.

will produce nothing for that case

I was viewing the problem as "print the stuff between the bounds", in which case it *should* print nothing for the case with no bound.

But it also shouldn't print anything for a missing trailing bound (while it does), so point made.

  • Comment on Re^3: List::MoreUtils before, after and ... between? ("simple")

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-10-23 07:06 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.