Help for this page

Select Code to Download


  1. or download this
    opendir(DIRHANDLE,"/usr/darren") || die "file to open";
    
  2. or download this
    @FILES = grep !/^\.\.?$/, readdir DIRHANDLE;
    
  3. or download this
    my @dirs=grep -d, </usr/darren/*>;  # Whoa it's one line!!