This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove 'use UNIVERSAL;', switch to UNIVERSAL::isa()
authorM.J.T. Guy <mjtg@cus.cam.ac.uk>
Thu, 10 Apr 1997 08:55:05 +0000 (20:55 +1200)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Wed, 6 Aug 1997 12:00:00 +0000 (00:00 +1200)
commitd704f39a0db2dc23790dfd9d7bd59ce9928a6e2c
tree7806b0de54acfde8d52e79012c303d76ce9b9036
parent3bb63ce62db2f3ee2964b123e979675f768f552c
Remove 'use UNIVERSAL;', switch to UNIVERSAL::isa()

Subject: Re: UNIVERSAL.pm and import methods

I wrote
> I've a sneaking feeling that I'm the only person who's tried to use
> this.    And as you might guess from my bug reports, I've learnt the
> error of my ways.

I spoke too soon.   There are three uses in the standard distribution.
The attached patch should get rid of them.

Probably worth doing this irrespective of how the UNIVERSAL/import
question is resolved.

p5p-msgid: E0whaZJ-0007BA-00@ursa.cus.cam.ac.uk
lib/Class/Struct.pm
lib/File/Compare.pm
lib/File/Copy.pm