in reply to Tie Failed for berkeley DB file

How about you tell us what the error message says?

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^2: Tie Failed for berkeley DB file
by vennirajan (Friar) on Jan 13, 2006 at 05:46 UTC
    I am not getting any error messages. It just prints the empty string.

    Regards,
    S.Venni Rajan.
    "A Flair For Excellence."
                    -- BK Systems.

      There is nothing in the code you showed that prints anything. There is only a die. Does the code not die at that point? If not, what code prints the empty string? Do you mean you get an empty string value when you look up a key? Do all lookups produce the same result regardless of key? Was the DBM file generated by the same setup that is failing to read it or did you copy it from elsewhere?

      Makeshifts last the longest.

        What i meant was, the error variable " $! " prints nothing , also the code exits from that "die" point. I have copied the file from other host ( where it is working ). But , the other files also i have copied from there only. They are working fine. Only this file gives issue ?!?!?!?

        Regards,
        S.Venni Rajan.
        "A Flair For Excellence."
                        -- BK Systems.