in reply to Re^4: Perl hex substraction
in thread Perl hex substraction
$ perl -E 'my @a=1..5; for my $i(1..$#a) { say "$a[$i-1], $a[$i]" } ' 1, 2 2, 3 3, 4 4, 5
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Perl hex substraction
by raybies (Chaplain) on Feb 15, 2011 at 14:32 UTC |