projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
df0bd2f
)
Class::Struct has an incomplete tied array package
Tom Hughes [Thu, 30 Jul 1998 09:47:31 +0000 (10:47 +0100)]
Message-ID: <yek1zr3vi70.fsf@elva.cyberscience.com>
p4raw-id: //depot/maint-5.005/perl@1688
lib/Class/Struct.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/Struct.pm
b/lib/Class/Struct.pm
index
a39d1ac
..
8fddfbf
100644
(file)
--- a/
lib/Class/Struct.pm
+++ b/
lib/Class/Struct.pm
@@
-40,6
+40,11
@@
sub printem {
$self->[$index];
}
+ sub FETCHSIZE {
+ my $self = shift;
+ return scalar(@$self);
+ }
+
sub DESTROY { }
}