Garrett Goebel: # Brent Dax wrote: # > # > This is also a problem with using want(). # > # > If we don't provide wants_scalar/wants_list, someone will # > build it with want(), so we might as well try to address # > it. I suggest that want() return a special value when # > the calling context is ambiguous, and any wants_scalar/ # > wants_list property be designed to accommodate this # > (probably by specifying which one should be the default). # # Where "special value" is a junction: 'scalar' | 'list'?
Actually, I was thinking C<undef>, though a junction of all the possible contexts might be good too. Remember, want() is more than just scalar/array now. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) >How do you "test" this 'God' to "prove" it is who it says it is? "If you're God, you know exactly what it would take to convince me. Do that." --Marc Fleury on alt.atheism