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

lib/db-btree.t weird problem

Thread Next
Chris Nandor
July 10, 2001 18:39
lib/db-btree.t weird problem
Message ID:
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            
Open Source Development Network

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About