http://www.perlmonks.org?node_id=522902


in reply to Re^2: Tie Failed for berkeley DB file
in thread Tie Failed for berkeley DB file

Hmmm ... once again it sure would help if you could show us the output from $!.

mitd-Made in the Dark
I've always been astonished by the absurd turns
rivers have to make to flow under every bridge.

Replies are listed 'Best First'.
Re^4: Tie Failed for berkeley DB file
by vennirajan (Friar) on Jan 13, 2006 at 06:09 UTC
    It displayed nothing.Here is my code,
    tie( %hash, 'DB_File::Lock', $file, O_RDONLY, 0666, $DB_TREE, 'read' ) + || die ( "db file open error ..:$!:");

    Here is my output.
    db file open error ..:: at ./db_read.pl line 12


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