Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-07-30 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls