And, definitely, use strict and use warnings.
In reply to Re^3: return from external subroutine by hilitai in thread return from external subroutine by kathys39