in reply to Re: [Study]: Searching for square roots
in thread [Study]: Searching for square roots
Oh, and there's no need to use prototypes. Actually many people deprecate them.
The OP's code even does what you've said "many people" do. Using the & prefix to call a sub disables prototype checking. The combination of both &sub and prototypes should be a red flag (in addition to each being a red flag in and of themselves).
In Section
Seekers of Perl Wisdom