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 ]

jest (4401)

  {jester} {at} {}

Largely unskilled but enthusiastic JAPH. In my other life I hack the Oxford English Dictionary.

Journal of jest (4401)

Tuesday August 05, 2003
10:45 AM

$self->bang({head => "wall"});

[ #13922 ]

So last night I sit down to do a big refactoring job on some code. It should be fairly straightforward; I'm not changing how anything is done, just some of the structure of the OO code to make it more like an MVC approach.

And for no reason I can think of, this one aspect of the display is not working. It's effectively identical to what was there before, and it works on the first run of this one program, but when the program is re-called, a radiogroup gets messed up. And I just can't figure out why it's happening. Worse, changing around things that should make absolutely no difference cause it to work.

I go to sleep late, having accomplished very little, and in the morning ask another coder to look at it. He can't figure it out either. Finally, for the hell of it, I change this one variable from




, and lo! it's working!

But I don't know why.

Oh, and happy birthday to me!

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.
  • Congratulations with your nth birthday.

    How did the radio thingies get 'messed up'? Wrong order? Ugly colours?
    • Only one of the buttons appeared (there should have been two), and with no value. Perhaps this did have something to do with the fact that I was using -value myself ;-). But indeed, the appearance of the radiogroup in this way could not be predicted by some of the other changes.