On Mon, Mar 31, 2003 at 12:12:54PM -0800, Michael Lazzaro wrote: > Don't those return C<undef>, as opposed to the value of C<$_>? I.E. > wouldn't it be: > > $_ and return $_ given big_calculation(); > -or- > given big_calculation() { > return $_ when true; > }
Personally I'd just use return big_calculation(); and make sure that big_calculation() returns the right thing. If you *really* needed the exactly semantics given above, you could put big_calculation() in a wrapper that does it for you. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]