Why not store the delimiter in a variable and then use that variable?
my $delimiter = '$#$'; my @columns = split /\Q$delimiter\E/, $data;
So, again, I'm not sure why you see this as a problem, as Perl provides many convenient escaping mechanisms, like single quotes and quotemeta.
In reply to Re^3: good delimiter in data for Perl
by Corion
in thread good delimiter in data for Perl
by sathiya.sw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |