There are ways of performing simple tests that require fewer curly braces and other punctuation |
expr1 if testexp; # is equivalent to |
if (testexp) {
|
} |
last, redo, and next can be followed by such tests e.g. |
last DOREALWORK if userendofinitializationhit ; |
There are similar abbreviations for unless,while,until |
dothisexpression unless conditionholds; |
dostandardstuff while normalconditionholds; |
dostandardstuff until specialconditionseen; |