Help for this page

Select Code to Download


  1. or download this
    my (@dir, @other);
    push @{ -d ? \@dir : \@other } for readdir DH;
    
  2. or download this
    my(@dir, @other) = part [ -d, ! ] readdir DM;
    
  3. or download this
    (@foo,@bar,@zap,@slop) := part [ /foo/, /bar/, /zap/, ! ] @source;