programming-examples/perl/Statement/Conditional operator- The unless Modifier.pl

4 lines
76 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
# Format: Expression2 unless Expression1;
$x=5;
print $x unless $x == 6;