programming-examples/perl/Statement/Conditional Modifiers- The if Modifier.pl
2019-11-15 12:59:38 +01:00

5 lines
70 B
Perl

Format: Expression2 if Expression1;
$x = 5;
print $x if $x == 5;