Perfect opportunity for a negative lookbehind.
my @vareach=split(/(?<!,)\t/,$var);
In reply to Re: The best way to split tab delimited file
by gmargo
in thread The best way to split tab delimited file
by Ratna_Ranjan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |