in reply to Re: How can I place each "word" of a string in a varible if I don't know the length of the string?
in thread How can I place each "word" of a string in a varible if I don't know the length of the string?

Why don't you just split the @words array again, this time in a loop, stating that each variable in the array becomes its own ($word1 , $word2 , etc.) scalar ? The 1, 2, 3, you can create with a simple increment. Does that contribute to the solution ?
  • Comment on Re: Re: How can I place each "word" of a string in a varible if I don't know the length of the string?