in reply to
Variable as split delimiter
Let perl do the escaping for you:
my $delimiter = quotemeta '|';
Comment on
Re: Variable as split delimiter
Download
Code
In Section
Seekers of Perl Wisdom