On Mon, Mar 31, 2003 at 11:04:35AM -0800, Michael Lazzaro wrote:
    my bool $x = &result_of_some_big_long_calculation(...args...);
    return $x if $x;

Is there a way that doesn't require the named variable?

$_ and return given big_calculation();


or:

given big_calculation() {
        return when true;
}

--
Matthijs van Duin  --  May the Forth be with you!

Reply via email to