in reply to how to in-place update a dataset?
Use the -i option for command line perl, e.g,
perl -pi -e 'chomp; ($_ = "\t$_\t") =~ s/\t(?=\t)/\tMissing/g;' \ -e 's/\A\t//; s/\t\Z/\n/;' RawFile
In Section
Seekers of Perl Wisdom
in reply to how to in-place update a dataset?
Use the -i option for command line perl, e.g,
perl -pi -e 'chomp; ($_ = "\t$_\t") =~ s/\t(?=\t)/\tMissing/g;' \ -e 's/\A\t//; s/\t\Z/\n/;' RawFile