- or download this
sub read_the_config() {
open(CFG, "<$file") || log_error("Problem reading $file - $!");
...
}
close CFG;
}
- or download this
sub read_the_config() {
local $localfile = $file;
...
}
close CFG;
}
- or download this
sub read_the_config($$$$) {
my ($file, $def, $cfgref, $order) = @_;
...
close CFG;
foreach (@lines) { do all sorts of groovy stuff....}
}
- or download this
...
local *CFG;
...
while (<CFG>) {
...
return \@lines;