...
This code will not behave as expected because the binding rules are lower for the not operator than for the ! operator. This Instead, this code instead behaves as follows:
| Code Block | ||
|---|---|---|
| ||
if (not (-f $file || -w $file)) {
|
...
...
This code will not behave as expected because the binding rules are lower for the not operator than for the ! operator. This Instead, this code instead behaves as follows:
| Code Block | ||
|---|---|---|
| ||
if (not (-f $file || -w $file)) {
|
...