And that will even work if $layer3 starts with a negative number or a float. It's a design feature that Perl works this way.{ no warnings 'numeric'; $totcalls += $layer3; }
In reply to Re^3: avoid warnings in Copying and Substituting Simultaneously
by JavaFan
in thread avoid warnings in Copying and Substituting Simultaneously
by mvcorrea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |