in reply to Re^5: trouble taking reference of function
in thread trouble taking reference of function
You could say that, but I think it's more accurate to say that the function doesn't receive any more than one element. The array in sin(@_) is evaluated in a scalar context. Its value in that context is the number of elements in the array, and that single value is given to sin.
|
|---|