Given:

   class Foo {
      method Bar () {...};
   }

   sub Bar (Any $x) {...};
   my Foo $f;

   Bar $f;


Is that last line the same as: &Bar.($f); or $f.Bar;

Does it matter if we change C< sub Bar > to C< multi sub Bar >?

Is there some form of implicit multi sub that gets created to make C< Bar $f; > C< $f.Bar >? Or does it only work if there is no C< multi? sub bar > in sight?

-- Rod Adams



Reply via email to