Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $b = 0;
    my $c = $a and $b;
    print "c=$c\n";
    
  2. or download this
    C:\temp>perl -MO=Deparse tmp16.pl
    Useless use of private variable in void context at tmp16.pl line 6.
    ...
    $c = $a && $b;
    print "c=$c\n";
    tmp16.pl syntax OK