programming-examples/perl/Statement/if statement.pl

9 lines
124 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#if ( expression ){
# statements;
#}
# Example
$a = 0;
$b = 4;
if ( $a == $b ){ print "$a is equal to $b"; }