On Tue, Oct 09, 2001 at 11:49:15AM -0700, Tim Conrow wrote: > Brent Dax wrote: > > > > If we have 'and', 'or' and 'xor', can we have 'dor' (defined or) to be a > > low-precedence version of this? > > Oh man. If we've gone so far as 'dor', why not make it 'doh' :-) > > print stomach_state @beer,@donuts doh "burrrrrp!!!"
Well, that opens up a few possibilities... First of all, we'll want to have a unary defaulting operator. For example, mmmm $donuts should check the type of $donuts and do the same thing as $donuts is default The universal definition of default should return undef so that mmmm $donuts doh "burrrrrp!!!" Would do what you expect. In our next issue, I'll be getting into the intricacies of the chainable diddly-aye-o suffix operator.... -- Aaron Sherman [EMAIL PROTECTED] finger [EMAIL PROTECTED] for GPG info. Fingerprint: www.ajs.com/~ajs 6DC1 F67A B9FB 2FBA D04C 619E FC35 5713 2676 CEAF "Write your letters in the sand for the day I'll take your hand In the land that our grandchildren knew." -Queen/_'39_