in reply to Re: Render numeric sequence as array of letters
in thread Render numeric sequence as array of letters

Any reason not to use a slice here?
my @letter_sequence = @num2letter{@original_array};

Makeshifts last the longest.

  • Comment on Re^2: Render numeric sequence as array of letters (useless use of map())
  • Download Code

Replies are listed 'Best First'.
Re: Re^2: Render numeric sequence as array of letters (useless use of map())
by tilly (Archbishop) on May 21, 2003 at 18:19 UTC
    You are exactly right, there is no reason not to use the more efficient slice operation. I just wasn't thinking that way.