Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
That's the one - not my proudest moment :). Yep - I put up no code in the beginning, asked "why is this statement not working", and expected the PM to help me. Give me a break, I was frustrated all to hell and had had absolutely no progress for a few hours. And bear in mind I didn't claim that the error was in someone else' code until I was absolutely sure it was.

I didn't follow up (post code where the error is repeatable) because A) Someone had already reported the problem, and B) I had already solved my problem thanks to another poster's solution.

Would the WTF database have helped me find this? I don't know - the only search terms I had available were "perl" and "database", which I'd expect would produce quite a long list of suggestions. But I'd hope that one of the first things I'd see is "try using trace()", which was the suggestion that ultimately led me to finding the bug.


PS. If the code is, in fact, as horrible as you say it is, I'd like to know what I can do to improve it (and by association, my whole programming style). Feel free to do it in a private message to avoid crowding this node (unless you want to maintain your Anonymous status, which is fair enough


In reply to Re: Re: Proposed WTF Database by jbeninger
in thread Proposed WTF Database by jbeninger

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found