foreach my $client (@client_directories) { opendir(C_DIR, "$base_directory/$client") or die "Could not open c +lient directory $base_directory/$client: $!\n"; my @config_directories = grep { $_ ne '.' and $_ ne '..' } readdir + C_DIR; close C_DIR; print "@config_directories\n";
-Mark
In reply to Re: Confusion about an empty array
by kvale
in thread Confusion about an empty array
by BuddhaNature
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |