Help for this page

Select Code to Download


  1. or download this
    perl -MData::Dumper -e '
    @ar1 = qw( a b c d e ); 
    @sl =  qw( b d ); 
    @ar2 = @ar1[@sl]; 
    print Dumper \@ar2;'
    
  2. or download this
    $VAR1 = [
              'a',
    ...
              'e'
            ];