in reply to Re^2: return from external subroutinein thread return from external subroutine
And, definitely, use strict and use warnings.