This is how I was handling them -
$opt_d = "\\|" if ($opt_d eq "|");
Since i am just splitting the file based on just a string, I guess the /[$opt_d]/ would do the trick!
Thanks Anonymous Monk
-SK
In reply to Re^2: Surprised by split
by sk
in thread Surprised by split
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |