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


in reply to Re^4: Splitting program into modules
in thread Splitting program into modules

Actually you reimplemented do

..., poorly: do has no 1 MB limit, do keeps track of the current filename for error messages, lexicals from the enclosing scope are not visible to code executed by do, and in case of relative paths other than './' and '../', do searches @INC and updates %INC.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)