Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
The stupid question is the question not asked
 
PerlMonks  

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

by rovf (Priest)
on Feb 21, 2012 at 15:53 UTC ( #955338=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    List::MoreUtils::after_incl {
        $_ !~ /DBIC/
    ...
    } List::MoreUtils::before { 
        /Dancer/
    } @YourList
    
  2. or download this
    my $partition=0;
    my @parts =
    ...
        $partition
    } qw<eval DBIC::3 DBIC::2 DBIC::1 MyApp::3 MyApp::2 MyApp::1 Dancer::3
    + Dancer::2 Dancer::1>;
    print join(',',@{ $parts[2] }),"\n";
    
  3. or download this
    my @input=qw<eval DBIC::3 DBIC::2 DBIC::1 MyApp::3 MyApp::2 MyApp::1 D
    +ancer::3 Dancer::2 Dancer::1>;
    my @firsts=@input[0..@input-2];
    ...
        }
    } @firsts, @seconds;
    print("@result\n");
    
  4. or download this

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-04-18 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (472 votes), past polls