Creating a mock warnings.pm and putting it on CPAN, was actually discussed at the p5p BOF at YAPC::Europe. Unfortunately (and this is my opinion) it was deciced to not do this (yet) because of the uncertainty of all the ramifications, particularly involving version numbers (you don't want CPAN installing perl 5.8.0 because some module author added warnings.pm as a prerequisite, for instance).
However, you can mock it like this:
BEGIN {
unless (eval "require warnings;") {
eval <<EOD;
sub warnings::import {};
sub warnings::unimport {};
EOD
$INC{'warnings.pm'} = 'I do not really exist';
}
} #BEGIN
Liz