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

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

by ikegami (Pope)
on Feb 21, 2012 at 23:05 UTC ( #955406=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($seen_opening, $seen_data, $seen_closing);
    my @filtered =
    ...
            && !($seen_closing ||= /Dancer/)  # Find closing bound
          }
          @list;
    
  2. or download this
    my @filtered =
       grep { (/DBIC/ .. /Dancer/) && !/DBIC/ && !/Dancer/ }
          @list;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-07-23 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (138 votes), past polls