At 4:04 PM +0200 3/16/00, Sean Carte wrote: >I've been mucking about with hashes and dbm files for some time now >and have finally reached the point where I've realised that >multi-level hashes require the use of the MLDBM module (actually I >found that out by searching the excellent list archives). > >Unfortunately, I can't seem to get the MLDBM module to work on my >Mac. (It installs and runs fine under MkLinux.) I have installed the >port of Data-Dumper-2.101 (copied Dumper.pm to site_perl:Data). But >couldn't find any port of MLDBM-2.00. So I assumed it was a simple >matter of sorting out line-breaks and copying MLDBM.pm to site_perl. > >I get the following error when I try to use MLDBM: > ># MLDBM.pm did not return a true value. >File '<AppleEvent>'; Line 5 ># BEGIN failed--compilation aborted. >File '<AppleEvent>'; Line 5 > >Any ideas? That error looks an awful lot like the one you get when you don't fix the linebreaks. Check MLDBM.pm and see that you have. You also appear not to have installed Data::Dumper correctly, which is an XS module, so you should have installed the shared library in the proper place (:site_perl:MacPPC:auto:Data:Dumper:Dumper) See http://pudge.net/mmp. You'll be much happier in the future if you use the tools that come with cpan-mac to install modules. >-- >My brain hurts! >SeanC > Mediatek Training Institute > 129 Moore Road, Berea, Durban, South Africa > phone: +27 (0)31 305 4200 SeanC@mediatek.co.za > fax: +27 (0)31 305 4236 > <http://members.xoom.com/s_carte> -- -- Paul Schinder schinder@pobox.com # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org