... # disable 'use strict' and/or 'use warnings' do_some_code_known_to_cause_warnings(); # re-enable 'use strict' and/or 'use warnings' ...