"\\*" would work.
The string literal "\\*" results in the string \*.
When used as a regexp, the string \* matches *.
Save yourself a lot of headaches and always use /.../ (or m{...}) with split.
In reply to Re^3: split() problem
by ikegami
in thread split() problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |