Lines Matching defs:UNIVERSAL
1 package UNIVERSAL;
5 # UNIVERSAL.pm should not contain any methods/subs, they
13 UNIVERSAL - base class for ALL classes (blessed references)
30 my $is_io = UNIVERSAL::isa($fd, "IO::Handle");
31 my $sub = UNIVERSAL::can($obj, "print");
35 C<UNIVERSAL> is the base class from which all blessed references inherit.
38 C<UNIVERSAL> provides the following methods:
110 By default, classes in Perl only perform the C<UNIVERSAL> role, as well as the
171 You may add other methods to the UNIVERSAL class via Perl or XS code.
172 You do not need to C<use UNIVERSAL> to make these methods
182 $yes = UNIVERSAL::isa($h, "HASH");
183 $yes = UNIVERSAL::isa("Foo", "Bar");