Statement Perl

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