CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
Updating Binary Files With variable record length


New User

Aug 29, 2007, 9:37 PM

Post #1 of 1 (1277 views)
Updating Binary Files With variable record length Can't Post

Hi guys,

I have a binary file with "records" of variable lengths. Each record ends with a '\n'. I am trying to find a nice solution for updating records. To update a record, should I split the file at the record position, write my record, and merge the split files? Could you please suggest something?

I cannot make the records of fixed size, otherwise updating would have been really easy.

thanks a lot,


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives