programming-examples/perl/_Basics/! $v1 && $v2.pl

13 lines
136 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
$v1 = 1;
$v2 = 0;
$v3 = ! $v1 && $v2;
if($v3) {
print "\$v3 is true.";
}
else {
print "\$v3 is false.";
}