Help for this page

Select Code to Download


  1. or download this
    opendir(DIR, "/users/foo/")
      || die "Whoops!";
    ...
      || warn "Unable to close DIR";
    
    splice(@bar, 0, 2); #get rid of '.' and '..'