You also probably want split(' ', $_); (to split on whitespace), not split('', $_);. Or simply split; (which has the same effect).
BTW, your </code > tag doesn't work, because you have a space in between the angle bracket and the tag name...
In reply to Re^3: putting text into array word by word
by Eliya
in thread putting text into array word by word
by jms53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |