What if 1, 11, 111, 1111, 11111, .... is meant to be a sequence of numbers?
Then there's nothing wrong with generating them as strings, because perl will automatically convert between these two as needed.
In reply to Re: Numerically generate the perl sequence 1, 11, 111, ....
by moritz
in thread Generate the perl sequence 1, 11, 111, ....
by alih110
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |