in reply to Re: calling sub and returning value from the same line
in thread calling sub and returning value from the same line

return; is almost always preferable to return undef;.