We don't bite newbies here... much | |
PerlMonks |
Re^3: split function not working as expectedby AnomalousMonk (Archbishop) |
on Jul 28, 2015 at 03:22 UTC ( [id://1136538]=note: print w/replies, xml ) | Need Help?? |
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
|
|