$length2 = scalar(@intArray); # type coercion, reports size of the array $hashTable{"third"} = @intArray; # coercion to a scalar type means the value is not the array but its length