in reply to Re^2: return if 0
in thread return if 0

Perhaps I was a bit unclear; I meant to say the "return" will never happen because 0 will never be true.

-- Time flies when you don't know what you're doing

Replies are listed 'Best First'.
Re^4: return if 0
by ikegami (Patriarch) on Jun 25, 2009 at 11:48 UTC
    In that case, your post simply didn't answer anything. The OP knew the return wasn't being executed. He was wondering why the following didn't return 1, print's return value.
    sub test { print "in test!"; return if 0; }