in reply to Re^2: Ignore a range of numbers in a List
in thread Ignore a range of numbers ina List

There's another way to do it: use decreasing indices and iterate from the end to the beginning. This keeps the arrays aligned after splice.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re^3: Ignore a range of numbers in a List