This node was deleted for all kinds of reasons. Ive had a look through the code and I will give some general starting points. First, run your code through perltidy so that you can see what is going on. Play with the settings so that lots of whitespace gets added in so you can actually see whats code and whats not. Next you posted that with user names, site locations and passwords in it. Obviously that isnt a good idea in general, let alone at a site frequented by hacker/programmer types. Third, you posted all of what looks like a rather badly written script. It needs to be cleaned up and refactored. As a starter you should try turning strict and warnings on, and clean the code until the perl interpreter stops shouting. By then you will probably find the errors you know about, and almost certainly a bunch you dont.

Come back if you can isolate your error down to a few clear lines of code and we will help. Bring us a tangled web of code like that, and short of paying us you arent going to get much out of it. If this is for commercial use I suggest you contact your local perlmongers and hire someone to clean that code up.


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi



In reply to Re: database correction by demerphq
in thread database correction by NodeReaper

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.