Gavin has asked for the wisdom of the Perl Monks concerning the following question:
for (@UnNum) { my $count = \$_->[0]; exists $triggers{$_} && ++$$count for @{$_->[1]}; } print join "\n", map {"$_->[0]\t " . join ' ', @{$_->[1]}} @UnNum;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Increment other than ++
by lima1 (Curate) on Mar 25, 2006 at 13:39 UTC | |
|
Re: Increment other than ++
by xdg (Monsignor) on Mar 25, 2006 at 13:37 UTC | |
|
Re: Increment other than ++
by ikegami (Patriarch) on Mar 25, 2006 at 20:41 UTC |