Help for this page

Select Code to Download


  1. or download this
    push(@captures, splice(@parts, 0, $capture_attr->[0]));
    
  2. or download this
    my @action_captures = splice(@parts, 0, $capture_attr->[0]);
    next TRY_ACTION if !$self->match_action_captures( $c, $action, \@actio
    +n_captures );
    push(@captures, @action_captures);
    
  3. or download this
    sub match_action_captures {
        my ( $this, $c, $action, $action_captures ) = @_;
    ...
            $action->private_path . '_match_captures' );
        return $mc_action ? $c->forward( $mc_action, $action_captures ) : 
    +1;
    }
    
  4. or download this
    sub load_category_match_captures : Private {
        my ( $this, $c, $category ) = @_;
    
        return scalar grep { $category eq $_ } qw(cosmetics entertainment)
    +;
    }
    
  5. or download this
    package TestApp;
    
    ...
    @$dp = grep { ( ref($_) || $_ ) ne 'Catalyst::DispatchType::Chained'; 
    +} @$dp;
    1;
    
  6. or download this
    /cs/something ....
    /en/something ....
    
  7. or download this
    package TestApp::DispatchType::Chained;
    use Moose;
    ...
        return $mc_action ? $c->forward( $mc_action, $action_captures ) : 
    +1;
    }