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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



rorokimdim
New User

Aug 29, 2007, 9:37 PM

Post #1 of 1 (1243 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,
ro

 
 


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

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