Hello,
I have two boxes, a test box and a live box. Both running win2k, the test box is using perl, and the live box is also using perl.
Recently I encountered a problem on the live box, even though the scripts are identicle on the test box and live box. The test box runs the script fine. (Previously, the script was working FINE for both boxes for a few months) On the livebox, now when trying to run the script it timesout and totally slows down the live box.
On my event log, it says Event ID:16 source : w3svc. etc.
"when tryin to run "...pl" with paremeters...connection lost with http server due to timeout etc"..(something like that)
Now when I researched this problem, it seemed it wasn't to familiar, but a lot of people stumpping on the error code.
On one message board it says to reinstall perl on your machine, so I did on the live box = nothing doing. Then says to try installing ActiveState perl may fix your problem.
So instead of perl, I installed ActiveStaet Perl, but now onto the module question - would I need to reinstall DBI module and DB_file module (my scripts are using those modules) in order it to work for active state perl? Also are there different versions of the modules for active state perl/perl?
In the ActiveState PPM, i tried searching for "DB_File" and got no results?
One other question:
Using tie, do you need to call the DB_File module?
use DB_File;
tie %add, "DB_File", "C:/login" or die "Can't open FILENAME: $!\n";
+ # open database tie hash to db
$add{"$username"} = "$timerss\|\|\|$session";
untie %add;
Thanks,
Anthony