Subject: | SelectorLength->Length |
SelectorList.pm
--- SelectorList.pm.orig 2008-08-03 15:38:10.000000000 -0700
+++ SelectorList.pm 2008-08-03 15:38:45.000000000 -0700
@@ -46,7 +46,7 @@
# returns the length of the list
#---------------------------------------------------------------------#
sub Length {
- return scalar @$_[0];
+ return scalar @{$_[0]};
}
#---------------------------------------------------------------------#
*CSS::SAC::SelectorList::getLength = \&Length;