in reply to Re: Re: foreach (each character in string..)?
in thread foreach (each character in string..)?

Yes, I am a bit loose in calling lists arrays. But note that in a foreach, the .. operator with integer operands does NOT create a list. It acts as an iterator. This is a special optimization introduced in 5.005.

The PerlMonk tr/// Advocate
  • Comment on Re^3: foreach (each character in string..)?