jethro's solution seems to be the most natural for me. In your solution, I don't see where $_ gets its value. Does fetchrow_array silently sets it?
In reply to Re: parse array to replace specific spaces with pipes
by rovf
in thread parse array to replace specific spaces with pipes
by neurotoxx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |