programming-examples/perl/_Basics/! $v1 && $v2.pl
2019-11-15 12:59:38 +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.";
}