Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Yes, surely you do! :)

Well, I'm out of ideas.  Unless you've got some code that you can post, I'm afraid I don't have a clue what could be wrong.

Here's a suggestion -- make a copy of your program, and work on the copy (to avoid messing up the original).  Assuming the problem persists, continue to make the program smaller and smaller until one of several things happen:

  1. You figure out what the problem was.
  2. The problem goes away.
  3. The problem is still there but the program is incredibly short, and self-contained.

Now in the first case, you've solved the problem on your own.  Sometimes it was something amazingly dumb (eg. a typo), and you've avoided the embarrassment of anyone else knowing what you did.  But at least you solved it, and probably had some fun doing so.  Now go apply the solution to the original program.

In the second case, you've sort of solved the problem, but you just don't know how yet.  Look carefully.  Did you make few enough changes that you can undo something and make the problem reoccur?  Perhaps you've narrowed it down to the point that you have some keyword(s) that Google will help you with.  (Update:  If you still can't figure out why the problem went away, you can always come back here for more help, armed with a lot more information than you had previously).

In the final case, you're still not done, but you're very close.  Assuming the code is fairly small and self-contained, all of Perlmonks will be eager to help.

By "self-contained", I mean of course that there can be no external data that you haven't provided.  If you have files that the script depends on, either show them (and make sure they're as short as you can possibly make them!), or, even better, include them as data internally to your program.  Remember, we don't necessarily want to see the original code, we'd prefer to see the shortest example you can provide that still fails.

There's nothing more fun than a challenge, but only when the problem can be recreated by anyone.  Yours unfortunately isn't yet, as you haven't shown any code, but if you work at it until you can post some example, we can very likely help you with the rest!


In reply to Re^3: getting sometimes empty cgi form with post by liverpole
in thread getting sometimes empty cgi form with post by david2008

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (3)
    As of 2018-10-22 01:45 GMT
    Find Nodes?
      Voting Booth?
      When I need money for a bigger acquisition, I usually ...

      Results (119 votes). Check out past polls.