|There's more than one way to do things|
Rosetta Code Error or $n // 100by pgmer6809 (Novice)
|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 ?