[EMAIL PROTECTED] (Brent Dax) writes:
> # my Foo $foo;
> #
> # # and later in the same lexical scope...
> #
> # $foo.bar();
> Your point being...? Shouldn't it only dispatch to methods defined in
> Foo?
Are you taking full account of what sort of magic may be performed between
the two statements? :)
Urgh:
my Foo $foo;
my Bar $bar;
$foo := $bar; # Compile-time error?
Also, Foo might change its nature, be replaced, import new methods from
somewhere else, change its inheritance tree, or ... This is Perl - anything
could happen, and often does.
--
"A word to the wise: a credentials dicksize war is usually a bad idea on the
net."
(David Parsons in c.o.l.development.system, about coding in C.)