From: Brent Dax [mailto:[EMAIL PROTECTED]] > 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.
sure, sure... I was ambiguously referring back to Dan's example, were xyzzy(scalar) and xyzzy(list) were the only valid options. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com [EMAIL PROTECTED]