Help for this page

Select Code to Download


  1. or download this
    opendir(MYDIR, $dirname);
    while (condition)    #condition ~ 1, loop basically forever
    ...
    # more stuff...
    closedir(MYDIR);
    
  2. or download this
    
     my @mail = grep { $_ ne '.' and $_ ne '..' } readdir INDIR;
    
  3. or download this
     my @mail = grep { $_ ne '.' and $_ ne '..' } readdir MYDIR;