Michael Lazzaro: # Piers wrote: # I doggishly maintain my preference for treating "stringification for # output" and "stringification for debugging" differently, but # as long as # I can specify an "AS_STRING" (sp?) method for a class, and # _still_ get # at a debugging version to print to other (debugging-related) # strings, I # think we're all basically happy. That implies, however, that we need # at least two methods per type/class: AS_STRING, and # AS_DEBUG, for lack # of better names. By default, the first calls the second.
I stick with .str and .id. If you're worried about namespace pollution, maybe prefix:~ and prefix:id can be used instead. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "If you want to propagate an outrageously evil idea, your conclusion must be brazenly clear, but your proof unintelligible." --Ayn Rand, explaining how today's philosophies came to be