check for package statements first
also check for the existence of $Package::Name::VERSION in the code before adding another one