develooper Front page | perl.perl5.porters | Postings from July 2001

lib/db-btree.t weird problem

Thread Next
From:
Chris Nandor
Date:
July 10, 2001 18:39
Subject:
lib/db-btree.t weird problem
Message ID:
p05100302b7715e2712bc@[10.0.1.177]
In the subclass tests, on Mac OS, DB_File is not getting subclassed properly.

    eval '
	$X = tie(%h, "SubDB","dbbtree.tmp", O_RDWR|O_CREAT, 0640, $DB_BTREE );
	' ;
    print $X, "\n";

On Mac OS, this is printing "DB_File=SCALAR(0x7429cec)"!  I expected
something like "SubDB=SCALAR(0x8220f60)", which is what I got on Linux.
Can anyone tell me how this could happen, and where I could look to track
this down?

-- 
Chris Nandor                      pudge@pobox.com    http://pudge.net/
Open Source Development Network    pudge@osdn.com     http://osdn.com/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About