Hi,
when a firewall rule set is built from many small files, it would be
nice to have local and global variables. Currently, most of my small
files start with a { and end with a } to make all variables defined in
the file local.
I am wondering whether it may be a good idea to declare all defined
variables local to the file where they were defined, with an optional
keyword "global" to make a variable global. This would at least save
me from a lot of indenting.
Greetings
Marc
Try {} around the @include statement instead.
What exactly would that do? I would like to have global _and_ local
variables, and my include statements are usually including entire
directories. In my understanding, {} around the include statement
would put variables from all files included into the same namespace
("all global"), which helps, but is not fully what I intended.
Greetings
Marc