I have attached the files:
config.txt: the file to be read
config.bro: the file that reads in info from config.txt (plz change <config_filename> to reflect the path where config.txt is located on your machine)
test.bro: the file that makes use of the config info in Config::table_config. (I didn’t test this one). Try applying different functions to_* in bro.bif to the values in Config::table_config and see what happens. For me, it generated error.
config.txt (1.07 KB)
config.bro (1.47 KB)
test.bro (613 Bytes)