in reply to Finding Sum of Consecutive Numerical Difference in Set of Numbers
@_ = qw( 2 4 5 7 ); $_ = eval join '-', @_; print #stdout -14 and not -10
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding Sum of Consecutive Numerical Difference in Set of Numbers
by Anonymous Monk on Oct 29, 2005 at 11:04 UTC |