programming-examples/perl/Datatype/Compare two values in the integer context.pl
2019-11-15 12:59:38 +01:00

7 lines
80 B
Perl

use integer;
$s1 = 11;
$s2 = 11.2;
print "\$s1 = \$s2" if ($s1 == $s2);