programming-examples/perl/Statement/If statement and integer comparsion.pl

9 lines
104 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!C:/Perl/Bin
$number = 5;
if ($number = 5)
{
print "\n\n\$number is equal to 5\n\n";
}