Syntactic Confectionery Delight | |
PerlMonks |
Re: Split int into segments of max int 26by kcott (Archbishop) |
on Sep 13, 2017 at 04:43 UTC ( [id://1199254]=note: print w/replies, xml ) | Need Help?? |
G'day thanos1983, Here's a recursive function that, I believe, achieves what you're after.
Output:
"I am not posting the code here as it is irrelevant and will only consume space, ..." A cutdown version might have provided some context. Without that, I don't know exactly how you'd implement this solution. You'll probably want some validation of the input. — Ken
In Section
Seekers of Perl Wisdom
|
|