|We don't bite newbies here... much|
Re: Fibonacci Generatorby PERLscienceman (Curate)
|on Jul 06, 2003 at 04:27 UTC||Need Help??|
I was going through the "miscellaneous nodes" section and found this one of many to be interesting. So... I thought I would do a little digging and sure enough, consistent with one of the many glories of Perl (there is a module for just about everything), I found one, on CPAN, that generates Fibonacci numbers and related things.
This is the CPAN documentation URL:
And here is a little chunk of code, (all of 5 lines), which generates a 10 number Fibonacci Series:
The wonders of Perl!