On Thu, Nov 06, 2008 at 01:22:24AM -0600, Chris Dolan wrote:
> Currently, you can overload number context by creating a __get_number()
> method and boolean context via __get_bool(). Should there be an
> analogous Num() and Bool() method on Object? Would it Num() return 0 by
> default? And a
On Wed, Nov 5, 2008 at 23:22, Chris Dolan <[EMAIL PROTECTED]> wrote:
> In "[perl #60350] [TODO] default __get_string method", Patrick added a
> default Object.Str() that classes can override to get custom
> stringification. Formerly, you could do that only by defining a method
> named __get_string