Hi. I am writing a Win32::GUI application to open a fixed length record text
file for
viewing/editing.
I am using low level sysreads() and syswrites() to read and write to the
file.
I am supposed to program the application to allow deleting of records.
I am not a C programmer, so I am not familiar with the write function in C.
Is there an easy way to delete a record with the C write function? Has
anyone done it with
syswrite in Perl? I thought maybe writing an octal "\0177" would do it but
I can't
get that to work. Nor can I get writing null to work. What is the correct
way to delete
a record in a text file? (records are fixed length 307 including linefeed).
Thanks,
Eric H.