Added missing variable declaration for perl_package_provider and fixed the spec tests
Added missing variable declaration for perl_package_provider and fixed the spec tests