Help for this page

Select Code to Download


  1. or download this
    |value 1|value two|"|Value 3 was "NULL"|2001/06/06|
    
  2. or download this
    perl -pi.bak -e "s/\|\"\|/\|\|/g" filename
    
  3. or download this
    open OUTFILE, ">>@ARGV[0].dat";
    while (<>) {
    ...
        print OUTFILE $_;
    }
    close OUTFILE;
    
  4. or download this
    while (<>) {
        split /\|/;
    ...
        }
        print $output;
    }