in reply to PUZZLED

Why avoid arrays out of interest?
@ary = split //, $string; while ($i < @ary) { print @ary; unshift @ary, pop @ary; $i++; }