in reply to Re:Why programming is so much more than writing code
in thread Why programming is so much more than writing code

Update: Argh! see blazar's reply below

Better would be:

sub SUB_NAME { # sort by the specified columns $_ = $a->[$_] <=> $b->[$_] and return $_ for 3, 2, 1, 0, 4; return 0; } }

;)


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^3: Why programming is so much more than writing code
by blazar (Canon) on May 07, 2007 at 22:05 UTC
    Better would be:
    sub SUB_NAME { # sort by the specified columns $_ = $a->[$_] <=> $b->[$_] and return $_ for 3, 2, 1, 0, 4; return 0; }
    Modification of a read-only value attempted at 614055.pl line 3.