summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-29 17:01:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-29 17:01:41 +0000
commit22633ac4d822d56571390c6ca915a7e5a37ef483 (patch)
tree7a229098a02d887af8309fe151515ac7d0bd426e /t
parentee28235b3274e2a0a6e2b8de32573633563eef75 (diff)
downloadperl-22633ac4d822d56571390c6ca915a7e5a37ef483.tar.gz
Make the Class::Struct import() wiser.
p4raw-id: //depot/perl@7926
Diffstat (limited to 't')
-rw-r--r--t/lib/class-struct.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/class-struct.t b/t/lib/class-struct.t
index 22801d5700..26505bacfc 100644
--- a/t/lib/class-struct.t
+++ b/t/lib/class-struct.t
@@ -15,7 +15,8 @@ sub meth { 42 }
package MyObj;
-use Class::Struct 'struct';
+use Class::Struct;
+use Class::Struct 'struct'; # test out both forms
use Class::Struct SomeClass => { SomeElem => '$' };