- or download this
open(CONF, '<conf-main.txt')
or die "Can't open file: $!";
...
$config{$setting} = $line;
}
}
- or download this
use Data::Dumper;
print Data::Dumper::Dumper \%config;
- or download this
my $type_match = qr/#DO\s+$config{'type'}/i;
foreach my $script_file ( @{ $config{'scripts'} } ) {
...
}
}
}