Today around 12:01pm, Nathan Torkington hammered out this masterpiece:

: Casey R. Tweten writes:
: > Leave length() the way it is now and, if one so desires, they may
: > override it on there own to use length for getting:
: 
: Not that helpful a suggestion for beginners.  They don't know how to
: override, or often even how to load a module.  The point is not that
: there's already a way to do it, but that the existing way doesn't make
: sense.

Ok, consider allowing:

  $a = length @b;

to DWIM, however, when running with warnings, warn the user that C<scalar> is
what they really want.

Just thowing that out there.


-- 
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