in reply to Re^2: Surprised by splitin thread Surprised by split
perl -e ' $str = "hi|there"; $d = quotemeta("|"); @a = split /$d/, $st +r; print +($_,$/) for (@a);' __END__ hi there [download]