|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Generate the perl sequence 1, 11, 111, ....by JavaFan (Canon) |
| on Oct 10, 2008 at 19:48 UTC ( #716510=note: print w/ replies, xml ) | Need Help?? |
|
Such a home work assignment should immediately trigger the term 'recursion'. The best way to impress your teacher is: It even starts with 0 1's, for extra credits. If you want to golf, you might want to try
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||