http://www.perlmonks.org?node_id=1010367


in reply to Re^3: return values are undef after return
in thread return values are undef after return

but after you return all the code after is ignored