Help for this page

Select Code to Download


  1. or download this
    sub Mix {
    my@a;@_=grep{@$_?push@a,shift@$_:0}@_ while@_;@a
    }
    
  2. or download this
    sub MixS {
    my@a;for(my$i;@_;++$i){@_=grep{$i<@$_&&push@a,$$_[$i]}@_}@a
    }