Help for this page

Select Code to Download


  1. or download this
    $a=1;
    $b=2;
    ...
        my (0?$a:$b) = 3;
        print "a=$a\nb=$b\n"
    }->()
    
  2. or download this
    my (0?$a:$b) = 3;
    # becomes
    BEGIN { create_lexicals(0?$a:$b); } # A
    (0?$a:$b) = 3; # B
    
  3. or download this
    a=
    b=3
    
  4. or download this
    $a = 1;
    $b = 2;
    ...
        print "a=$a\nb=$b\n";
    }
    ->();