A Python 3000 Question

Tim Roberts timr at probo.com
Thu Nov 1 23:40:59 EDT 2007


Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> wrote:

>On Wed, 31 Oct 2007 22:48:12 -0700, Carl Banks wrote:
>
>>> I hope you're not serious that $# would make a good operator.
>> 
>> If you happen to know where I borrowed it from, it would be pretty
>> evident that I wasn't being serious.
>
>Ooh, now I'm curious.

Seriously?  You didn't know that $#x in perl returns the length of the
array @x, minus 1?
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list