Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by ikegami (Patriarch)
on Feb 22, 2012 at 01:48 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://955433]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found