Then find a way to turn those warnings into a die, for eval; for example by temporarily setting $SIG{__WARN__}; or, if the module has a way to handle errors, use that. One such warning and it's game over.
Comment on Re^3: Checking if a file is present in a ZIP archive