18 Apr 2000 mojotoad   » (Journeyer)

Damn I love perl.

Since HTML::Element was not playing friendly and sticking to the class methods, I was having to jump through all sorts of hoops in order to let my sub classed objects frolick freely with regular element trees. I was having to override all sorts of methods in order do achieve that goal, which decreased efficiency and ease of maintenance.

Finally, I just said to hell with it; when necessary, I tie a special array class to the content that "does the right thing" when that element is masked -- now it doesn't matter who pokes around in the object internals. Hah!

I'll probably go to some sort of programmer hell for it, but it trimmed about 100 lines of needless, unmaintainable code.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!