in reply to TMTOWTDI Puzzle: Generating a range of numbers
use strict; sub shoot{my@shot=split//,shift;shift@shot;return unless@shot;(shoot(j +oin'',@shot),scalar@shot)} print "@{[shoot('onetimesten')]}\n" [download]