Hey,
I've been exploring with ActiveState perl for a week or so and still trying to get my data program to run on this W2k server using ActiveState.
Previously it was working on two servers running Perl and IIS.
An error I'm running into on trying to run this script w/ActiveState is that its giving me a 'Can't open FILENAME: No such file or directory' error.
This seems like a newbie mistake, but the file is there and located in the right directory. Also the directory has proper settings.
Code:
use DB_File;
tie %add, "DB_File", "C:/datafiles/login" or die "Can't open FILENAME:
+ $!\n";
$add{"$username"} = "$timerss\|\|\|$session";
untie %add;
I have DB_File module installed correctly, but somehow this part of the code is giving me errors.
Anyone have any suggestions on why it might be giving me a error like this when using ActiveState Perl?
I'm pretty stumped and I read the tie doc, but still no luck.
I also tried using "C:\datafiles\login", but still no luck and gives me same error msg.
Thanks,
Anthony
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.