It even starts with 0 1's, for extra credits.perl -E'sub _{push@_,say@_;&_}_'
If you want to golf, you might want to try
perl -E'{$_.=say;redo}'
In reply to Re: Generate the perl sequence 1, 11, 111, ....
by JavaFan
in thread Generate the perl sequence 1, 11, 111, ....
by alih110
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |