in reply to check for wantarray?

Intuitively, I'd say you can't. What about a sub like this:
sub bizarre { if ($_[0] eq "context-sensitive") { return wantarray?["sna","fu"]:"snafu"; } else { return "bar"; } }
which is sometimes context-sensitive? I suppose you could mark a sub context-sensitive if it is for at least one set of parameters, but that might have limited value.