in reply to What is the * postfix operator, pre-'feature postderef'?
No, it's a shortcut. It turns out that:
$uptime *= 2;is a shortcut for:
$uptime = $uptime * 2;There's also +=, etc. See perldoc perlop for all the details.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What is the * postfix operator, pre-'feature postderef'?
by wsanders (Novice) on Sep 10, 2014 at 20:56 UTC | |
by GrandFather (Saint) on Sep 10, 2014 at 21:28 UTC |