in reply to Re^2: check modules used by a script and their versionin thread check modules used by a script and their version
BEGIN {...} blocks are executed by perl -c. It's not easy to prevent that.
Dave