|XP is just a number|
Rosetta Code Error or $n // 100by pgmer6809 (Sexton)
|on Mar 24, 2019 at 19:58 UTC||Need Help??|
pgmer6809 has asked for the wisdom of the Perl Monks concerning the following question:
On Rosetta (https://rosettacode.org/wiki/Continued_fraction#Perl )
there is the perl solution to evaluating Continuous fractions. The code given is: (<===== comments added by me)
The output shown on Rosetta is correct.
My TWO questions are:
1) Why can they pass in two arguments sometimes (two function refs) and three arguments other times (two function refs, and an integer count?
2) What value does the expression $_ // 100 assign to $n ?