>     print "There are Dogs->num_dogs() species of dogs.";
   > 
   > would interpolate as:
   > 
   >     print 'There are '.Dogs->num_dogs().' species of dogs.';

I suggest that the requirement be:

         print "There are Dogs::->num_dogs() species of dogs.";

I.e. use the unambiguous form of class method call.

Damian

Reply via email to