Today around 11:18am, Nathan Torkington hammered out this masterpiece:

: Randal L. Schwartz writes:
: > This proposal makes length() an un-prototypable (and therefore
: > unoverridable).  Do you have a proposal for how to handle that?
: 
: Do we really want everything in Perl to be overridable?  What
: use is an overridden length()?

Leave length() the way it is now and, if one so desires, they may override it on
there own to use length for getting:

scalar ARRAY
scalar LIST
scalar HASH
scalar keys HASH
scalar values HASH

and what ever else you want to manipulate length into.

-- 
print(join(' ', qw(Casey R. Tweten)));my $sig={mail=>'[EMAIL PROTECTED]',site=>
'http://home.kiski.net/~crt'};print "\n",'.'x(length($sig->{site})+6),"\n";
print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig};
my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot EDU>

Reply via email to