#!./perl
#
# Verify which OP= operators warn if their targets are undefined.
# Based on redef.t, contributed by Graham Barr <Graham.Barr@tiuk.ti.com>
# -- Robin Barker <rmb@cise.npl.co.uk>
#
BEGIN {
chdir 't' if -d 't';
}
use strict;
use warnings;
my $warn = "";
sub uninitialized { $warn =~ s/Use of uninitialized value[^\n]+\n//s; }
sub FETCH { ${$_[0]} }
sub STORE { ${$_[0]} = $_[1] }
print "1..63\n";
# go through all tests once normally and once with tied $x
}
}
}
{ use integer;
}
} # end of use integer;
} # end of for $tie