[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MLDBM Module



At 16.04 +0200 2000.03.16, 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.

It is.  Although you are better off using the installme droplet, part 
of the cpan-mac distribution.

     http://pudge.net/macperl/


>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?

It looks like you did not fix the newlines.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org