Wicked hack! People may be clamouring for your blood if you don't do this for UBB6... this is one of those instantly-popular hacks.
A couplea things that you could change to make the code cleaner (I'm not suggesting that you do here, the benefits would be negliagable, but if you're interested in expanding your perl kowledge: )
could be codensed to:
Can usually be reduced to:
Also, I'm not too sure about this line:
I've got a feeling all of those ops have a left-to-right prescedence. If not, then my mistake, but if like me you don't know, it's always best to bracket them and guarantee they evaluate the way you want:
Very good work.
Run and add it to the UBBDev database!
[ February 25, 2001: Message edited by: Borg_5x8 ]