in reply to Re^2: Static typing is mostly a waste of time
in thread Static typing is mostly a waste of time
How that polymorphism is achieved is irrelevant. '+' will do the right thing when handed varying types. The fact that '+' imposes scalar context upon its operands and @foo in scalar context is "$#foo + 1" doesn't change the fact that it's '+' which is the agent of the context conversion.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Static typing is mostly a waste of time
by Anonymous Monk on Apr 12, 2005 at 15:16 UTC |