In golf you still have to get the ball in the hole generate the correct result. Bugs in golfed Perl are still bugs. ;)
In the second paragraph of the Auto increment and Auto decrement section of perlop it says:
Note that just as in C, Perl doesn't define when the variable is incremented or decremented. You just know it will be done sometime before or after the value is returned. This also means that modifying a variable twice in the same statement will lead to undefined behaviour.
In reply to Re^4: my array is almost a hash, but keys are not unique.
by GrandFather
in thread my array is almost a hash, but keys are not unique.
by Boldra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |