If I were writing the middle subroutine, I wouldn't copy the values into other variables before use:
sub middle { return ($_[0] + $_[1]) / 2; }
But that's probably just me.
In reply to Re^2: [Study]: Searching for square roots
by duff
in thread [Study]: Searching for square roots
by monsieur_champs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |