Hi,
I don't understand the following code:
task "firewall", sub {
iptables_clear;
...
...
};
I have searched for "perl task" and have not found anything meaningful. Copy
pasting the snippet and executing result in the following:
1286 % ./test.pl
String found where operator expected at ./test.pl line 5, near "task "firewall""
(Do you need to predeclare task?)
syntax error at ./test.pl line 5, near "task "firewall""
syntax error at ./test.pl line 34, near "}"
Execution of ./test.pl aborted due to compilation errors.
1293 %
Thanks in advance dear beginners-help list.
Dominik Danter