Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!unido!tub!fauern!tumuc!lan!boetsch From: boetsch@lan.informatik.tu-muenchen.dbp.de (Ernst Boetsch) Newsgroups: comp.lang.perl Subject: Re: DBM problems in pl.28 Message-ID: <4089@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 22 Aug 90 10:40:39 GMT References: <1414@esatst.yc.estec.nl> Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: boetsch@lan.informatik.tu-muenchen.dbp.de (Ernst Boetsch) Organization: Leibniz-Rechenzentrum, Muenchen, W. Germany Lines: 25 I got the same problem with perl 3.0 PL.28 on SUN-Sparc (4.0.3) and VaxStation II (Ultrix 3.1). A work around is also a dummy assignment $DBM{'dummy'} = 'dummy'; previos to the `dbmopen(DBM3, ...);' (important, if the database shall not be changed by the dummy entry). Additionally, I found the following problems with ndbm associative arrays: - I cannot read (!!!) ndbm associative arrays if I do not have also write access (contrary to the manual). This problem did not appear in patch level 18 and before. - `Configure' defines both d_ndbm='define' d_odbm='define' The problem also appeared in previous patch levels. - ndbm-arrays cannot be set by the construct %DBMarray = (key1, val1, key2, val2 ...) Ernst Boetsch, Leibniz-Rechenzentrum der Bayerischen Akademie der Wissenschaften Barer Strasse 21, D-8000 Muenchen 2, West Germany boetsch@informatik.tu-muenchen.dbp.de Tel.: +49 89 2105 7480 boetsch%informatik.tu-muenchen.dbp.de @ {relay.cs.net, unido.uucp}