source: trunk/essentials/dev-lang/perl/lib/UNIVERSAL.pm@ 3280

Last change on this file since 3280 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 4.0 KB
Line 
1package UNIVERSAL;
2
3our $VERSION = '1.01';
4
5# UNIVERSAL should not contain any extra subs/methods beyond those
6# that it exists to define. The use of Exporter below is a historical
7# accident that can't be fixed without breaking code. Note that we
8# *don't* set @ISA here, don't want all classes/objects inheriting from
9# Exporter. It's bad enough that all classes have a import() method
10# whenever UNIVERSAL.pm is loaded.
11require Exporter;
12*import = \&Exporter::import;
13@EXPORT_OK = qw(isa can VERSION);
14
151;
16__END__
17
18=head1 NAME
19
20UNIVERSAL - base class for ALL classes (blessed references)
21
22=head1 SYNOPSIS
23