in reply to Re^2: How to export variables from caller file to packagesin thread How to export variables from caller file to packages
I think the problem may be a misspelling of "secondPackage" in the package declaration line. (Missing the "c".)