in reply to good delimiter in data for Perl

Why not to use some standard format like CSV?

Replies are listed 'Best First'.
Re^2: good delimiter in data for Perl
by sathiya.sw (Monk) on Jan 07, 2009 at 15:05 UTC
    No, because my data itself can have those separators which the CSV will be using. so these separators may clash, and data parsed wrongly !!
    Sathiyamoorthy
      Do you really think CSV could be so popular if that wasn't a tackled problem?

      In CSV, there's a way to protect separators occuring inside data fields.

      CVS has standard ways to handle special characters in data:
      1,2,3,4 is (1, 2, 3, 4) 1,"2,2,2",3,4 is (2, '2,2,2', 3, 4) 1,"2,""2""2",3 is (1, '2,"2",2', 3, 4)