in reply to Re: looking for a good idiom: return this if this is true
in thread looking for a good idiom: return this if this is true

Hardly a deficiancy... especially when return; doesn't return undef _OR_ (), it returns both undef _AND_ () at the same time (dependending on context of course).

We would have to replace all existing return; with return wantarray ? () : undef;

ugh...
  • Comment on Re^2: looking for a good idiom: return this if this is true

Replies are listed 'Best First'.
Re^3: looking for a good idiom: return this if this is true
by merlyn (Sage) on Mar 07, 2005 at 15:20 UTC