programming-examples/perl/Statement/The unless statement is the opposite of if and executes a block unless a condition is true.pl
2019-11-15 12:59:38 +01:00

11 lines
94 B
Perl

unless (condition) {
# ...
}
or:
unless (condition) {
# ...
} else {
# ...
}