Ouch! Please stop the head banging RIGHT NOW ;-)
More seriously, behavior = code + inputs + environment. So if you are absolutely sure that
- no code changes and even your version control diff command agrees
- no 3rd party library code changes
- no changes to build scripts
- no anything recompiled a slightly different way
- no test suite changes
- the exact same test data worked yesterday
- all test "random" generators are seeded the same way
That pretty much leaves the option that your software is interacting with some part of the environment in ways you do not expect. Either (a) you have always been getting the undef but were traversing the code in a way it didn't matter or (b) some environmental factor is interacting with upstream code causing the undef IP address.
The obvious environmental things to look for are:
- database configuration and contents changes
- Apache server configuration changes
- Environment variables
- Your own profiles (or that of the user under which
you are running the tests)
- Any bits of code that interact with the above
Failing that, go out and take a walk, pet the dog, play with the kids, or call a good friend and chat or do something having nothing to do with the problem. More than once, I've gotten myself entirely frustrated with a bug, only to have lunch with a friend, come back, and find the bugger in less than five minutes.
But you know all this, so you can probably go back to your head banging after reading this. Just choose a pillow next time. :-)
Wish I could help more, beth
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.