Help for this page

Select Code to Download


  1. or download this
    while (defined(my $subdir = glob 'antarctica/*')) {
        next unless -d $subdir;
        chdir $subdir;
        for ...
        chdir '../..';
    }
    
  2. or download this
    opendir my $D, 'antarctica' or die $!;
    while (defined(my $dir = readdir $D)) {
    ...
        chdir $dir;
        for ...
        chdir '..';