in reply to Re^2: Special undefs with attributes
in thread Special undefs with attributes

Would it be appropriate to use an object to represent either the answer, the question, or the question and answer? If magic is to be invoked in any case, better to invoke "standard" magic than to invent a tricky sort of magic such as giving meaning to something who's only meaning is to say "you can know nothing about me because I don't exist".


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^4: Special undefs with attributes
by bsb (Priest) on Sep 25, 2006 at 05:14 UTC
    Just to be clear, I'm not planning on deploying XS overrides of core ops, nor tied and overloaded contructs. If this had been implemented in a module, then perhaps I'd consider it.

    Only the answers (and the exists flags) are in the data stream being transformed, not the questions. I'll think about wrapper objects further.