There are no more warnings. The only problem I have now is adding users, and it will only log in for one of the default users(aharris). What program should I use to debug it?
When I run it, I get:
1. Log in
2. Log out
3. Administration
Enter selection: 1
Enter your user name to log in: aharris
Odd number of elements in hash assignment at ./maybe.pl line 23, <STDIN> line 2.
Odd number of elements in hash assignment at ./maybe.pl line 33, <STDIN> line 2.
Enter your password: 1234
Use of uninitialized value $logins{"aharris"} in numeric comparison
(<=>) at ./maybe.pl line 37, <STDIN> line 3. Welcome aharris.
Current time is Mon May 5 11:44:51 2008

?

In reply to Re^4: adding to hash/writing to file errors by andrew2325
in thread adding to hash/writing to file errors by andrew2325

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.