http://www.perlmonks.org?node_id=891509


in reply to Switch the odd/even elements of an array

Schwartzian transform and filter input in pairs