Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
LanX: With the scalar operator and arrays evaluating to their length in scalar contect, I don't see a need for it. But if someone decided to change perl to do something like this, I'd rather see them overload length to accept a hash, array or reference to a hash or array. ...roboticus When your only tool is a hammer, all problems look like your thumb. In reply to Re: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )
by roboticus
|
|