Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: how to in-place update a dataset?

by jaredor (Curate)
on Mar 14, 2013 at 07:15 UTC ( #1023397=note: print w/ replies, xml ) Need Help??


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


Comment on Re: how to in-place update a dataset?
Download Code
Re^2: how to in-place update a dataset?
by littlewenwen (Novice) on Mar 14, 2013 at 14:24 UTC
    Wow! There is so much information in all of your replies that I may need some time to digest. Thank you all very much for great help.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-01 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (19 votes), past polls