in reply to Re^2: split function not working as expected
in thread RE: split function not working as expected[SOLVED]
My personal preference is to "escape" such metacharacters (and the space character) within a character class: [|]. This avoids incipient LTS and is also written the same in all variations: /[|]/ "[|]" '[|]'
Give a man a fish: <%-(-(-(-<
In Section Seekers of Perl Wisdom