Luinrandir Hernsen wrote: > Long ago in GW Basic there were sequential files and random access > files.
Sounds like the start of a bedtime story... :~) > Does perl have the latter? Yes. It's really a capability of the underlying operating system. Perl has seek(), tell(), read(), and write() functions for random access. perldoc -f seek perldoc -f tell perldoc -f read perldoc -f write To bypass buffering, you also have sysopen(), sysread(), and syswrite(), which pretty much map directly to the open(2), read(2), and write(2) syscalls. Also, be sure to check the FAQ article: perldoc -q "How do I randomly update a binary file?" See also the IO::File and IO::Seekable standard modules for the sleek OOP-style versions of these functions. > I only to get (and then put) certain info > in a certain place every time. > If I can avoid writing the whole file every time I bet my web site > hoster would appreciate it! > Just point me in a direction... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]