Return-Path: Mailing-List: contact community-help@apache.org; run by ezmlm Delivered-To: mailing list community@apache.org Received: (qmail 70560 invoked from network); 10 Jan 2003 12:07:28 -0000 Received: from 198-93-112-61.xdsl.qx.net (HELO rhiannon.rcbowen.com) (198.93.112.61) by daedalus.apache.org with SMTP; 10 Jan 2003 12:07:28 -0000 Received: from localhost (localhost [127.0.0.1]) by rhiannon.rcbowen.com (8.10.2/8.9.3) with ESMTP id h0AC7R716201 for ; Fri, 10 Jan 2003 07:07:27 -0500 Date: Fri, 10 Jan 2003 07:07:27 -0500 (EST) From: Rich Bowen To: Subject: Re: python foo In-Reply-To: <20030110003459.A27552@lyra.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 10 Jan 2003, Greg Stein wrote: > > $matrix = [ > > [1, 2, 3], > > [4, 5, 6], > > [7, 8, 9] ]; > > print $matrix->[1][2]; > > Very cool. Man, I wish that woulda worked when I tried it. > > > A little more punctuation, but, then, you'd expect that from Perl. > > > > You must have a very lame Perl hacker at your disposal. ;-) > > This was sometime around 1996, I believe. Perl 4, if I recall. Is it > possible that it wasn't so easy in Perl 4? Ah. No. Not possible in Perl 4. That was back in the dark ages! ;-) I guess I did not realize that Python was already around back then. References (aka pointers, only not) appeared in Perl 5, and are what makes this syntax posibble. -- Nothing is perfekt. Certainly not me. Success to failure. Just a matter of degrees.