package UNIVERSAL;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
# UNIVERSAL should not contain any extra subs/methods beyond those
# that it exists to define. The use of Exporter below is a historical
require Exporter;
@EXPORT_OK = qw(isa can VERSION);
-require warnings;
-
# Make sure that even though the import method is called, it doesn't do
# anything unless called on UNIVERSAL.
sub import {
return unless $_[0] eq __PACKAGE__;
+ require warnings;
warnings::warnif(
'deprecated',
'UNIVERSAL->import is deprecated and will be removed in a future perl',