15203 |
|
|
15204 |
if ($cache) |
if ($cache) |
15205 |
{ |
{ |
15206 |
warn "Reading from cache\n"; |
#warn "Reading from cache\n"; |
15207 |
while (<$cache>) |
while (<$cache>) |
15208 |
{ |
{ |
15209 |
chomp; |
chomp; |
15213 |
} |
} |
15214 |
else |
else |
15215 |
{ |
{ |
15216 |
warn "reading from dir\n"; |
#warn "reading from dir\n"; |
15217 |
if (opendir(SUB,"$FIG_Config::data/Subsystems")) |
if (opendir(SUB,"$FIG_Config::data/Subsystems")) |
15218 |
{ |
{ |
15219 |
push(@subsystems, grep { ($_ !~ /^\./) and $self->usable_subsystem($_) } readdir(SUB)); |
push(@subsystems, grep { ($_ !~ /^\./) and $self->usable_subsystem($_) } readdir(SUB)); |