Hello

I now got my directory listing into an array of strings. I would like to now split up the string into a an array of strings from the original string. For example, I might have a string of "a b c d" and I now want a 4 element array containing "a", "b", "c", 'd".

I did the following but it did not work.

@new_dir = @string_array[$index];

The new_dir array is the string from the string array.

Where did I go wrong?

Andrew


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to