package NewHash;
require Tie::Hash;
- @ISA = (Tie::Hash);
+ @ISA = qw(Tie::Hash);
sub DELETE { ... } # Provides needed method
sub CLEAR { ... } # Overrides inherited method
package NewStdHash;
require Tie::Hash;
- @ISA = (Tie::StdHash);
+ @ISA = qw(Tie::StdHash);
# All methods provided by default, define only those needing overrides
# Accessors access the storage in %{$_[0]};
package NewExtraHash;
require Tie::Hash;
- @ISA = (Tie::ExtraHash);
+ @ISA = qw(Tie::ExtraHash);
# All methods provided by default, define only those needing overrides
# Accessors access the storage in %{$_[0][0]};
package NewScalar;
require Tie::Scalar;
- @ISA = (Tie::Scalar);
+ @ISA = qw(Tie::Scalar);
sub FETCH { ... } # Provide a needed method
sub TIESCALAR { ... } # Overrides inherited method
package NewStdScalar;
require Tie::Scalar;
- @ISA = (Tie::StdScalar);
+ @ISA = qw(Tie::StdScalar);
# All methods provided by default, so define only what needs be overridden
sub FETCH { ... }
# tweak a small bit.
#
package Tie::StdScalar;
-@ISA = (Tie::Scalar);
+@ISA = qw(Tie::Scalar);
sub TIESCALAR {
my $class = shift;