in reply to Re: subroutine inside subroutine
in thread subroutine inside subroutine

That definition is too vague. There is no closure here-

sub outer { print "outer"; sub inner { print "inner" } }

Just two package subs (in the same space).