> > (E) We need to finalize what happens when a string isn't a number, > or has additional trailing stuff. Damian gave his initial > preference, but we need to verify & set in stone: > > my int $i = 'foo'; # 0, NaN, undef, or exception? > my int $i = '5foo'; # 5, NaN, undef, or exception? > > my Int $i = 'foo'; # 'Int' probably makes a difference > my Int $i = '5foo'; > >
I think it was said that this would be controlled by a pragma. But now, my memory is very bad. And deciding which one is the default is exactly the kind of stuff that causes flamewars.. -angel