I think your code would be more likely to print
[this=x ][that=x x ][another=x ][thing=x ]
Perhaps you meant
print "[$_]\n" for @array;
I hope this is helpful.
Cheers,
JohnGG
In reply to Re^2: Split this string
by johngg
in thread Split this string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |