Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Text file Update problem!

by chip (Curate)
on Apr 08, 2004 at 19:29 UTC ( #343719=note: print w/ replies, xml ) Need Help??

in reply to Text file Update problem!

"You can't get there from here." Updating text files in place is possible, but it's basically a matter of reading a bunch in and writing it all back out again, what with variable-length records. So I guess you should just post-process the log.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Comment on Re: Text file Update problem!
Replies are listed 'Best First'.
Re: Re: Text file Update problem!
by Nik on Apr 08, 2004 at 19:54 UTC
    post proccess??
      post-process: Post, in this context means after the fact. Process, in this context means to perform operations on data. Put it together and you get "perform operations on your data after the fact."

      What he's saying is that rather than trying to write to two different places in a flat file, you might just be better off sorting it out later, when you need to look at the data. Perl's great at practical reporting and extraction of data.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-11-30 10:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls