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


in reply to Re: variable scope within eval{}
in thread variable scope within eval{}

Yes I did and it works fine in the eval block but is invisible when passed to the sub