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

Nop, it works differently on Linux and *BSD. That's the point of the question.
  • Comment on Re^6: DB_File recno treats array like a hash

Replies are listed 'Best First'.
Re^7: DB_File recno treats array like a hash
by Anonymous Monk on Oct 12, 2012 at 10:17 UTC

    Nop, it works differently on Linux and *BSD. That's the point of the question.

    So you ran my program? What was the output?

      netbsd:

      length 1 scalar 1

      length 3 scalar 3

      length 5 scalar 5

      length 7 scalar 7

      length 8 scalar 8

      length 8 scalar 8

      length 8 scalar 8

      length 8 scalar 8

      length 8 scalar 8

      length 8 scalar 8



      linux:

      length 1 scalar 1

      length 2 scalar 2

      length 3 scalar 3

      length 4 scalar 4

      length 4 scalar 4

      length 4 scalar 4

      length 4 scalar 4

      length 4 scalar 4

      length 4 scalar 4

      length 4 scalar 4

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