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

[MacPerl] tie



I've been off the list for a little while now...

I searched my archive of messages for a possible solution to this as well
as some of the help pages out there, but no luck.  I did find a clue.  I
had a message or two pointing to 'tie' having a problem with large drives.
(Although I get the same result with a 1G drive and this is running from a
zip disk anyway)..Anyhooo here's the code and the problem

<code>
#!perl

use db_file;

tie (%admin, 'DB_File', 'some.file', O_RDWR, 0644) | die "couldn't tie it";

$admin{'jason'} = 'name';
$admin{'blue'} = 'eyecolor';
$admin{'sixfoot'} = 'height';

untie (%admin);
</code>

It takes the die route everytime. I've tried just about everything that I
now of and no success. Anyway to get the die message to be more explicit as
to why it couldn't or any blatant errors that

Thanks in advance,

Jason

-------------------
Jason White
<Insert Title Here>
jason.white@usu.edu



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch