Patrick R. Michaud wrote:
> Following up to a thread on p6c regarding method fallbacks and .join:
> 
> * What should [1,3,5].join('-')  produce?

I'm pretty sure it should be '1-3-5', because [1,3,5] is an Array ref

> * How about ([1,3,5], 20).join('-')  ?

Probably the same as (~[1,3,5], 20).join('-')

> Thanks!
> 
> Pm


-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to