Help for this page

Select Code to Download


  1. or download this
    $x = (1 + 3, 5 + 7);  # $x gets 12
    $y = (pop @r, 1000);  # @r gets pop()ed, $y gets 1000
    
  2. or download this
    $a, $b = 1, 2;
    
  3. or download this
    $a, ($b = 1), 2;
    
  4. or download this
    foo(), bar(), blat() if bonk();
    
    @a = (1,1,2,3,5,8,13);