Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Wednesday October 29, 2003
12:23 PM

More on the 5.8.1 Migration

[ #15452 ]

More fun trying to get our code to run under 5.8.1. The latest pain has come from people trying to munge XML with regular expressions and assuming that the attribute order for tags is static. Because our XML generator relies on hashes to track key/value pairs, this assumption is wrong. I keep getting bitten by this, but the latest problem was by the following snippet:

$xml =~ s/TransmissionDate=".*"/TransmissionDate=""/;

And the First Circle of Hell (reserved for the virtuous (because they test) pagans) will have one more inhabitant. This will be the person who wrote a series of tests that asserted that certain SQL queries will take X number of seconds to run. Usually this is true, but I discovered intermittant failures in these tests -- no surprise there -- but rather than fix them, I decided to do some investigating. I couldn't believe that I was the only person who was having these test failures, even if I was the only person running 5.8.1. As it turns out, programmers were so used to seeing intermittant failures of this particular test program that they ignored them. This almost completely negates the benefits of testing.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.