in reply to Re^5: use fields; # damnit
in thread use fields; # damnit
In fact all that it understands are the fields of the object. So yes, it only checks hash access. And I agree with your comments about it not being very useful, which is why I personally don't bother with it.
As for where this idea will go, not very far in Perl 5. In Perl 6 it may mutate into something more useful. But so far all that I can recall is lots of thought, but not much that is concrete.
Incidentally I thought that type inference in Standard ML was a form of strong typing, but I don't know Standard ML. Since you appear to think otherwise, how would you describe the distinction that you'd draw?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: use fields; # damnit
by stvn (Monsignor) on Aug 21, 2004 at 04:23 UTC | |
by adrianh (Chancellor) on Aug 21, 2004 at 08:21 UTC | |
by stvn (Monsignor) on Aug 21, 2004 at 15:32 UTC | |
by Aristotle (Chancellor) on Aug 21, 2004 at 15:53 UTC | |
by stvn (Monsignor) on Aug 21, 2004 at 16:34 UTC | |
|