I would like to know why it is different between string and list
qw() does split ' ' (separates words), not split // (separates characters). Had you used the former, you would have gotten the same result.
You might think those two are the same in this case, but they're not because of the bug I indentified.
In reply to Re^3: Different behaviour in characters in string vs. array?
by ikegami
in thread Different behaviour in characters in string vs. array?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |