# Create accessor methods.
- if ( $got_class && $CHECK_CLASS_MEMBERSHIP ) {
- $out .= " use UNIVERSAL;\n";
- }
my( $pre, $pst, $sel );
$cnt = 0;
foreach $name (@methods){
require Exporter;
use Carp;
-use UNIVERSAL qw(isa);
$VERSION = '1.1001';
@ISA = qw(Exporter);
croak("from undefined") unless (defined $from);
croak("to undefined") unless (defined $to);
- if (ref($from) && (isa($from,'GLOB') || isa($from,'IO::Handle'))) {
+ if (ref($from) &&
+ (UNIVERSAL::isa($from,'GLOB') || UNIVERSAL::isa($from,'IO::Handle'))) {
*FROM = *$from;
} elsif (ref(\$from) eq 'GLOB') {
*FROM = $from;
$fromsize = -s FROM;
}
- if (ref($to) && (isa($to,'GLOB') || isa($to,'IO::Handle'))) {
+ if (ref($to) &&
+ (UNIVERSAL::isa($to,'GLOB') || UNIVERSAL::isa($to,'IO::Handle'))) {
*TO = *$to;
} elsif (ref(\$to) eq 'GLOB') {
*TO = $to;
use strict;
use Carp;
-use UNIVERSAL qw(isa);
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION $Too_Big
© &syscopy &cp &mv);
my $from_a_handle = (ref($from)
? (ref($from) eq 'GLOB'
- || isa($from, 'GLOB') || isa($from, 'IO::Handle'))
+ || UNIVERSAL::isa($from, 'GLOB')
+ || UNIVERSAL::isa($from, 'IO::Handle'))
: (ref(\$from) eq 'GLOB'));
my $to_a_handle = (ref($to)
? (ref($to) eq 'GLOB'
- || isa($to, 'GLOB') || isa($to, 'IO::Handle'))
+ || UNIVERSAL::isa($to, 'GLOB')
+ || UNIVERSAL::isa($to, 'IO::Handle'))
: (ref(\$to) eq 'GLOB'));
if (!$from_a_handle && !$to_a_handle && -d $to && ! -d $from) {