http://qs321.pair.com?node_id=627039


in reply to The best Doctor:

Perry Cox!
C(qw/74 97 104 112/);sub C{while(@_){$c**=$C;print (map{chr($C!=$c?shift:pop)}$_),$C+=@_%2!=1?1:0}}