Stories
Slash Boxes
Comments
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 ]

chaoticset (2105)

chaoticset
  (email not shown publicly)
http://chaoticset.perlmonk.org/
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [perlmonks.org], and here [javajunkies.org] too, I ramble randomly in my philosophical blog [blogspot.com] and my other blog [blogspot.com]. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Friday February 22, 2002
03:12 PM

Note To Self: Remove Tests

[ #3051 ]
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.

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