Note To Self: Remove Tests

chaoticset on 2002-02-22T20:12:43

Well, I just ran the Engrishifier on a 160 k text file (the MTG rules list from around June 1999, if you must know.) It just finished spouting the whopping nineteen thousand tests it ended up doing.

Anyway, I got wordshift implemented.

for (@words) {
if (rand()>.9) {
$a = rand(scalar(@words));
$b = rand(scalar(@words));
($words[$a], $words[$b]) = ($words[$b], $words[$a]);
}
}
Quick, elegant, and...well, the only reason I knew about the list context swappy thing is because of _Cookbook_, but still, I'm very happy with this little smidgen here.

Let's see if any lovely little sentences have cropped up...

from at wizards us questions coast(r recognize that there matter fow detaired, the the rules we will always be situations in which the the of shpecific can require a precise answer if you fave the you of crumbling cards get his answers no of see inside interactions front cover for contact information!

That's nice. :) Fix the ( situation (probably best to just remove them for now; ideally I'd like to bring them over as directly as possible in future revisions) and fix the caps thing I busted earlier, and call it good for now.