Help for this page

Select Code to Download


  1. or download this
      sub add_two ($$); # add_two will be defined later
    
  2. or download this
        $account_balance   = @credits + @debits;
        $biblical_metaphor = @sheep - @goats;
    
  3. or download this
        @account_balances   = @credits + @debits;
        @biblical_metaphors = @sheep - @goats;
    
  4. or download this
    $length2 = scalar(@intArray); # type coercion, reports size of the arr
    +ay
    $hashTable{"third"} = @intArray; # coercion to a scalar type means the
    + value is not the array but its length