summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2002-11-19 11:35:16 +0000
committerhv <hv@crypt.org>2002-11-19 11:35:16 +0000
commit8af2e859c733a1615cc8dbeb3491332ed702a779 (patch)
treeb54b51db96007589cc78467ffafb97994eda2f5e /lib
parent287a822c675abc6308357941862beda584b38a68 (diff)
downloadperl-8af2e859c733a1615cc8dbeb3491332ed702a779.tar.gz
Remove duplicate my() declaration giving warnings from change #18105.
p4raw-link: @18105 on //depot/perl: dd58e686a56f2e2b79be702b8652140afcbfc717 p4raw-id: //depot/perl@18158
Diffstat (limited to 'lib')
-rw-r--r--lib/Class/Struct.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Class/Struct.t b/lib/Class/Struct.t
index ffb5094d8c..694d622d4d 100644
--- a/lib/Class/Struct.t
+++ b/lib/Class/Struct.t
@@ -66,7 +66,7 @@ isa_ok $obj->c, 'aClass';
is $obj->c->meth(), 42;
-my $obj = MyOther->new;
+$obj = MyOther->new;
isa_ok $obj, 'MyOther';
$obj->s('foo');