The autodecrement is not magical.
About this quote
- What does it mean?
- The autodecrement operator works predictably, not magically.
- In plain terms
- Autodecrement is just a regular operation.
- What can you take from it?
- Expect normal behavior from decrement operators.
Where it applies
Putting it to work
Questions to consider
- Do you rely on shortcuts without understanding them?
Another view
Some developers treat it as a mysterious shortcut.
More from Larry Wall
Remember though that THERE IS NO GENERAL RULE FOR CONVERTING A LIST INTO A SCALAR.
Permalink to quote #273 *** The previous line contains the naughty word '$&'. if /(ibm|apple|awk)/; # :-)
Permalink to quote #275 Perl is designed to give you several ways to do anything, so consider picking the most readable one.
Permalink to quote #272
Related quotes
And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)
Larry WallLarry Wall quote #2 > (It's sorta like sed, but not. It's sorta like awk, but not. etc.) Guilty as charged. Perl is happily ugly, and happily derivative.
Larry WallLarry Wall quote #51 We toast the Lisp programmer who pens his thoughts within nests of parentheses.
Alan PerlisAlan Perlis quote #2