home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5944 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.3 KB

  1. Path: sparky!uunet!mcsun!uknet!cam-cl!doc.ic.ac.uk!doc.ic.ac.uk!not-for-mail
  2. From: dds@doc.ic.ac.uk (Diomidis D Spinellis)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: dbm problems/questions (msdos-perl).
  5. Summary: 0 len files are ok in DOS dbm
  6. Message-ID: <194q67INN2p3@swan.doc.ic.ac.uk>
  7. Date: 15 Sep 92 13:58:31 GMT
  8. References: <kebsch.716557576@neurotic>
  9. Organization: Department of Computing, Imperial College, University of London, UK.
  10. Lines: 17
  11. NNTP-Posting-Host: swan.doc.ic.ac.uk
  12.  
  13. In article <kebsch.716557576@neurotic> kebsch@neurotic.sni.de (Waldemar Kebsch) writes:
  14. >I have fetched PERL419X.ZIP from Simtel and it runs fine. Because I have
  15. >no experience with dbm I wrote a simple example using dbmopen(), dbmclose(),
  16. >etc.. It works fine, but the [????????.dir] file is only 0 bytes long???
  17. [...]
  18. >Hmm .., what's going wrong (what I am doing wrong?) ?
  19.  
  20. There is nothing wrong.  The GNU-dbm library, which is what is probably
  21. used by the Perl version you are using,  stores all data in the .pag
  22. file.  The .dir file is not used.  Under Unix the two files are linked
  23. together in order to keep their timestamps synchronised.  Under MS-DOS
  24. the .dir file is just a dummy zero-length file.
  25.  
  26. Diomidis
  27. -- 
  28. Diomidis Spinellis    Internet: <dds@doc.ic.ac.uk>  UUCP: ...!uknet!icdoc!dds
  29. Department of Computing, Imperial College, London SW7     #include "/dev/tty"
  30.