Perl command dbmopen not working -


We have snippets like the following,

DBMPane (% NEWHASHTABLE, "$ hashfile ", $ Mode);

Where hash file is like below

1: - D: / InterUnion / TeamSite / Local / Config / PublicWeb / Module / Module LightingEighteEEEEEEE - Main - Shared - STAGING.db

2: - D: / InterUnion / TeamSite / Local / Config / PublicWeb / Module / -w-main.db

and mode is 666.

When I tried to take out data from the hash table (% NEWHASHTABLE), I did not find any data in it.

>

Could you please inform that what can be added?

And this code is working in the version of our old teams, but this is not in the new version.

The error in your snippet should be checked. You are checking errors, okay?

  dbmopen (% NEWHASHTABLE, "$ hashfile", $ mode) or die "$ hashfile can not be opened: $!";  

If you have not checked errors, and you are not running with sequoce ( hard use ), then you will have an empty hash dbmopen fails.

--------------- 2014-10-31 update --------- ---------- ------

I do not see a used DB_file in your code snippet, so the Pearl given to him is going to believe that, your Trying to open Program D: / Intervovan / Team Site / Local / Configure / Public Vib / Module / Module LightingEcigulationExecutive-LocalJob_Lighting - Man --webdevelopment - WORKAREA - w -main .db.pag < / P>

So first of all, we need to know this You are trying to work with the taste of the DB file you are using. This will be helpful in running commands on your DBM file and will report what it says.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -