in reply to Re^8: DB_File recno treats array like a hash
in thread DB_File recno treats array like a hash

For future reference, use code tags for code/data/input/output

What do you get for

use DB_File; print qq{ ### $] #~ \$DB_File::db_ver $DB_File::db_ver #~ \$DB_File::db_version $DB_File::db_version #~ \$DB_File::VERSION $DB_File::VERSION ######## }; __END__ ### 5.014001 #~ $DB_File::db_ver 5.001025 #~ $DB_File::db_version 5.1 #~ $DB_File::VERSION 1.824 ########

Replies are listed 'Best First'.
Re^10: DB_File recno treats array like a hash
by vleschuk (Initiate) on Oct 12, 2012 at 11:00 UTC

    Hello, thanks, seems like the problem is that DB backend versions differ (BSD seems much older than Linux):

    linux: ### 5.014002 #~ $DB_File::db_ver 5.001029 #~ $DB_File::db_version 5.1 #~ $DB_File::VERSION 1.821 ######## netbsd: ### 5.014002 #~ $DB_File::db_ver 1 #~ $DB_File::db_version 1 #~ $DB_File::VERSION 1.821 ########