Congrabulashuns. You just won the "Evil programmer of the Year" award.

;/

What's really sad is the number of people reading this and thinking 'oh. I'd like to win that' is a large positive number.

The award ceremony will be held behind the chemical shed. Programmer V will be handing out the awards.

-----Original message-----
From: David Cantrell <[email protected]>
To: [email protected]
Sent: Tue, Sep 28, 2010 11:50:27 GMT+00:00
Subject: Re: [Boston.pm] $#{$Queue}

On Mon, Sep 27, 2010 at 11:15:17PM -0400, Uri Guttman wrote:

actually the <= part is even more amusing. look here:
perl -le '$#foo = -2 ; print $#foo'
-1

you can't set the last index to < -1. which makes sense. which makes the
original code even dumber.

$ perl -le '$[=-1; print $#foo'
-2

--
David Cantrell | Nth greatest programmer in the world

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm


_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to