in reply to The best way to split tab delimited file
Perfect opportunity for a negative lookbehind.
my @vareach=split(/(?<!,)\t/,$var);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The best way to split tab delimited file
by Ratna_Ranjan (Novice) on Nov 23, 2009 at 17:30 UTC | |
by gmargo (Hermit) on Nov 23, 2009 at 17:53 UTC | |
by Ratna_Ranjan (Novice) on Nov 23, 2009 at 18:03 UTC | |
by gmargo (Hermit) on Nov 23, 2009 at 18:59 UTC | |
by Ratna_Ranjan (Novice) on Nov 23, 2009 at 19:12 UTC | |
|