Help for this page

Select Code to Download


  1. or download this
    my $c = 2;
    my @a = ("$c", $c+=1);
    print "@a";
    
  2. or download this
    my $c = 2;
    my @a = ($c, $c+=1);
    print "@a";
    
  3. or download this
    my ($a, $b) = (shift, shift)