in reply to map confusion
$_++ is a post increment. The value used is the value $_ contained before being incremented. Unless there is a compelling reason to use the post increment operator you should always use the pre increment operator: ++$_.
Oh, and it's nothing to do with map!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: map confusion
by Anonymous Monk on Dec 15, 2015 at 23:53 UTC | |
by FreeBeerReekingMonk (Deacon) on Dec 16, 2015 at 00:04 UTC |