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