@_ = qw( 2 4 5 7 ); $_ = eval join '-', @_; print #stdout -14 and not -10
In reply to Re: Finding Sum of Consecutive Numerical Difference in Set of Numbers
by sh1tn
in thread Finding Sum of Consecutive Numerical Difference in Set of Numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |