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.
In reply to Re: What is the * postfix operator, pre-'feature postderef'?
by roboticus
in thread What is the * postfix operator, pre-'feature postderef'?
by wsanders
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |