programming-examples/perl/Basics/! $v1 && $v2.pl
2019-11-18 14:44:36 +01:00

13 lines
136 B
Perl

$v1 = 1;
$v2 = 0;
$v3 = ! $v1 && $v2;
if($v3) {
print "\$v3 is true.";
}
else {
print "\$v3 is false.";
}