Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

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 grasshoppers chirp...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2018-03-24 18:46 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (299 votes). Check out past polls.