>>>>> "DC" == David Cantrell <[email protected]> writes:
DC> 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. DC> $ perl -le '$[=-1; print $#foo' DC> -2 you are a very nasty person! please to be coding in python for the rest of your miserable life! :) uri -- Uri Guttman ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

