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

Re^2: List::MoreUtils before, after and ... between?

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


in reply to Re: List::MoreUtils before, after and ... between?
in thread List::MoreUtils before, after and ... between?

This looks great, because the list is generated by splitting a string on newlines in the first place:

eval { confess }; my @stack = split /\n/, $@;
The regex becomes a bit more complicated, but that usually also means I'm a bit more certain about what I'm matching.

Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://955481]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-11-24 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (354 votes). Check out past polls.

    Notices?